delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/05/01:30:22

Date: Wed, 5 Feb 2003 08:27:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
Subject: Re: djgpp: djgpp/include/string.h,strings.h
In-Reply-To: <200302042024.h14KON631928@delorie.com>
Message-ID: <Pine.SUN.3.91.1030205082604.15128I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 4 Feb 2003, cvs-richdawe AT delorie DOT com wrote:

> Update by cvs id: richdawe
> Update of /cvs/djgpp/djgpp/include
> 
> Modified Files:
> 	string.h strings.h 
> Log Message:
> Add C99-specific sections for declarations/definitions
> 
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/include/string.h,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -p -2 -r1.6 -r1.7
> *** djgpp/include/string.h	19 Jan 2003 13:03:55 -0000	1.6
> --- djgpp/include/string.h	4 Feb 2003 20:24:20 -0000	1.7
> *************** char *	strtok(char *_s1, const char *_s2
> *** 48,51 ****
> --- 48,56 ----
>   size_t	strxfrm(char *_s1, const char *_s2, size_t _n);
>   
> + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
> +   || !defined(__STRICT_ANSI__)
> + 
> + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
> + 

Richard, did you try to see whether an old GCC version swallows this 
successfully?  Like compile a program with GCC 2.7.2.x or 2.8?  If not, 
could someone please try that?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019