[Bug target/26052] cpp does not honor the -undef option
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 31 22:15:00 GMT 2006
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-31 22:15 -------
The bug is in the SPECs but it is generated from
gcc/config/i386/cygwin.h:
#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
%{mno-win32:%{mno-cygwin: %emno-cygwin and mno-win32 are not compatible}} \
%{mno-cygwin:-D__MSVCRT__ -D__MINGW32__ %{!ansi:%{mthreads:-D_MT}}}\
%{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__ %{!ansi:-Dunix} -D__unix__ -D__unix
}\
%{mwin32|mno-cygwin:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ %{!ansi:-DWINNT}}\
%{!nostdinc:%{!mno-win32|mno-cygwin:-idirafter ../include/w32api%s -idirafter
../../include/w32api%s}}\
"
Really there should be a better way of doing this instead of using a SPECs.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-01-31 22:15:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26052
More information about the Gcc-bugs
mailing list