This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC viciously beaten by ICC in trig test!
kaih@khms.westfalen.de (Kai Henningsen) writes:
> > This is a tricky issue. Some standards (e.g. POSIX) make conflicting
> > requirements to that of ISO C standard,
>
> Actually, POSIX takes great pains to *NOT* do that.
It is true, as you say, that POSIX requires that a symbol be defined
to make the header files non-ISO C. But that doesn't really help from
the perspective of having gcc provide those header files. If gcc
provides the ISO C standard header files, then it more or less follows
that the gcc version of those files will not contain the POSIX
definitions which are appropriate for the current host. This would
require a lot of fixincludes/#include_next hackery to get right.
Ian