This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New bug in cpp, bogus macro redefinition warnings


Zack

Here's the test case couldn't be similar! no special
options just gcc -c bug.c will do the trick.

Create a source file with the following line (note
the space at the beginning of the line it's very
important)

--------------bug.c------------------------
 #define _LIBC_LIMITS_H_ /* This tells it not to look for another.  */
-------------------------------------------

If I remove the leading space(s) before the # it
doesn't crash.

Graham

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]