------- Additional Comments From jason at catapult dot com 2005-02-09 23:50 ------- (In reply to comment #6) > Subject: Re: -E -dD includes predefined macros > > jason at catapult dot com wrote:- > > > Where did you read this? This is what is written in the CPP and GCC > > manpages, > > and the GCC online docs. > > > > D - Like M except in two respects: it does not include the predefined > > macros, > > and it outputs both the #define directives and the result of preprocessing. > > Both > > kinds of output go to the standard output file. > > > > Neil, thanks for the suggestion, it removed all of them except for #define > > __STDC_HOSTED__ 1, which I can take out with sed. > > OK, so 2 bugs here then 8-) >
Maybe not. The docs mention that "The standard predefined macros remain defined.". I guess it depend on what sort of predefined macro __STDC_HOSTED__ is. Another problem with the -dD flag I've just found is that it includes the macros predefined with the -D flag. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19836