[Bug preprocessor/64576] New: Preprocessor Error With 5.0 not with 4.9.2
joel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 12 22:45:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64576
Bug ID: 64576
Summary: Preprocessor Error With 5.0 not with 4.9.2
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: joel at gcc dot gnu.org
Created attachment 34431
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34431&action=edit
Cut down example showing error
The attached example is based on code that has compiled fine for about 15
years.
$ ~/test-gcc/install-head/bin/powerpc-rtems4.11-gcc -meabi -mcpu=603e
-msdata=sysv -O2 -c b1.c
b1.c:1:36: error: '#' is not followed by a macro parameter
#define SETBAT_ASM(batu, batl, u, l)\
^
The macro may have issues but it gcc has been happy with it for a LONG time. :)
More information about the Gcc-bugs
mailing list