[Bug target/26052] cygwin's defnes does not honor the -undef option and -std=c89 is not the same as -ansi
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 2 16:42:00 GMT 2006
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-02-02 16:42 -------
(In reply to comment #5)
> (In reply to comment #4)
> No, that would not work as this SPECs is used for other things too.
> The correct way to fix this is to move the specs handling of defines to
> TARGET_OS_CPP_BUILTINS.
For cygwin.h, the correct macro is EXTRA_OS_CPP_BUILTINS as
TARGET_OS_CPP_BUILTINS is used in cygming.h already and just calls
EXTRA_OS_CPP_BUILTINS for the cygwin specific defines.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26052
More information about the Gcc-bugs
mailing list