[Zlib-devel] Re: Is gcc always STDC?

Cosmin Truta cosmin at cs.toronto.edu
Thu Jul 31 02:14:01 EDT 2003


On Thu, 31 Jul 2003, Charles Wilson wrote:

> Cosmin Truta wrote:
>
> > Can we say that gcc is always STDC? If yes, then we shouldn't need
> > __CYGWIN__ (or __linux, etc.) and this should work even when ./configure
> > is not run.
>
> The thing you have to worry about is some compilers (like Intel's latest
>   icc) define the __GCC__ symbol.  Bad Intel.  No cookie.

If you meant __GNUC__, then that's bad Intel, indeed. But we shouldn't
worry from the perspective of defining STDC, right?

If other compilers masquerade as gcc without actually acting like gcc,
I'd say ignore them, they don't deserve attention.

My question was rather "is there any (genuine) gcc platform that is not
STDC"? No problem compiler-wise, I presume, but now about library-wise?

Cosmin





More information about the Zlib-devel mailing list