[Bug c/40960] POSIX requires that option -D have a lower precedence than -U
vincent at vinc17 dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 4 13:30:00 GMT 2009
------- Comment #2 from vincent at vinc17 dot org 2009-08-04 13:29 -------
There would the possibility to have a POSIX mode implied by c99, but I don't
think having different behaviors would be a good idea. IMHO, Makefiles should
be fixed to stick to POSIX.
Also, portable Makefiles, i.e. that work with other compilers, should not be
affected.
Note that Sun cc 5.0 is correct. And gcc 2.95.3 was also correct! (That's old,
but this is on an old Solaris machine where I still have an account.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40960
More information about the Gcc-bugs
mailing list