warn against K&R compiler in glibc 2.2

Ulrich Drepper drepper@redhat.com
Thu Mar 30 23:19:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> We can at least check for gcc -traditional with:
> #if defined __GNUC__ && __STDC__
> # error "You need a ISO C conforming compiler to use the glibc headers"
> #endif

Hum, sounds OK.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list