preprocessor problem
Magnus Damm
damm@kieraypc01.p.y.ki.era.ericsson.se
Fri Oct 29 05:05:00 GMT 1999
Good day.
My preprocessor behaves strange when I use macros with multiple arguments.
System:
Linux 2.2.12 kernel with debian 2.1.
Running on a Pentium 2 system with lots of disk and enough ram.
Version:
"gcc -v" says:
gcc version 2.7.2.3
Errors or Warnings:
none.
Files attached:
bug.c - source to generate the case.
bug_out.c - file generated by "gcc -c bug.c -E > bug_out.c"
Problem:
If you look at the "hello world" line in bug_out.c you will see that
the ->bar part from the foobar->bar argument is missing...
The line with "bye world" has no problems.
This might be a feature that I am not aware of.
Any clue?
TIA /
Magnus Damm
bug.c
bug_out.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c
Type: text/x-c
Size: 501 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991029/fab20f67/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_out.c
Type: text/x-c
Size: 354 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991029/fab20f67/attachment-0001.bin>
More information about the Gcc-bugs
mailing list