Mail Archives: djgpp-workers/2003/02/05/12:40:29
Richard Dawe wrote:
> Eli Zaretskii wrote:
> >
... snip ...
> >
> > 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?
> [snip]
>
> Er, no. But I don't see why I wouldn't work. gcc 3.x currently defaults
> to C89 mode, which means it doesn't define __STDC_VERSION__. So when it
> comes to evaluating this #if/#endif, gcc 2.x and gcc 3.x should behave
> the same, which their default settings (e.g.: no -std=c<whatever> or
> -std=gnu<whatever>).
I believe it/they do, however the value is less than 1999...
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -