Hmm, I can't see why a __EXTENSIONS__ (like Solaris has) would break posix confirming programms. But, it would help for eg. autoconf third-party apps which set POSIX_C_SOURCE. Instead of changing other peoples code, I just could do:may != MUST. We do not pollute the name space. Providing additional facilities pollutes the name space, breaking strictly conforming programs.
setenv CFLAGS "-D__EXTENSIONS__=1"
./configure
It would be only a little change to sys/cdefs.h and wouldn't break anything.
Regards,
Marc
"Premature optimization is the root of all evil." -- Donald E. Knuth
msg48424/pgp00000.pgp
Description: PGP signature