Mail Archives: djgpp-workers/2000/05/15/11:23:09
On Mon, 15 May 2000, Laurynas Biveinis wrote:
> It is possible that e.g. <stdarg.h> contains GCCisms which allow generating
> more efficient code, uses builtins, etc. On systems where GCC isn't primary
> compiler, this could be a problem. On DJGPP we just already have GCC-tailored
> headers, that's it.
The point I'm trying to make is that GCC cannot safely assume what does a
random stdarg.h include. It might as well include more than what the
ANSI standard says, for some reason that is private to the library. If
the header is replaced by GCC's one, the library is broken.
In other words, if GCC wants to have its way with something that is
usually part of stdarg.h, that doesn't automatically mean it can replace
*all* of stdarg.h.
This is more important for float.h and limits.h, of course.
- Raw text -