This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Andreas Jaeger <aj@suse.de> writes: > The easiest way is AFAIK to add the following to some file: > #ifndef __STDC__ > # error "You need a ISO C conforming compiler to use the glibc headers" > #endif If we are thinking about other compilers but gcc (which is legitimate for the use of glibc) then this is not enough. Most compilers beside gcc do not define __STDC__ except if you direct the compiler to be strictly compliant. This is a weakness in the ISO C standard. I don't know whether we can add any reasonable check. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |