------- Comment #1 from tromey at gcc dot gnu dot org 2006-12-28 01:28 ------- Also 6.10.8.4 says that various other macros, like __DATE__, shall not be the subject of #define or #undef. Currently we warn in these cases but perhaps we ought to have a pedwarn instead.
I have a patch for the '#ifdef defined' case which I am testing. Also I note that '#if defined defined' is undefined. I wonder if we ought to warn for this. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-12-28 01:28:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28227