Supress newlines in gcc -E macro expansion?
Neil Booth
neilb@earthling.net
Tue Nov 14 16:34:00 GMT 2000
What GCC / CPP are you using?
Neil.
Todd Plessel wrote:-
>
> $ cat macro_test.c
> #define MACRO(a,b) a and b
> MACRO( first,
> second )
> $ gcc -E macro_test.c
> # 1 "macro_test.c"
>
> first and
> second
> $ cc -E macro_test.c
> # 1 "macro_test.c"
> # 2
> first and second
> #ident "acomp: Sun WorkShop 6 2000/04/07 C 5.1"
>
> How can I get gcc -E to produce:
>
> first and second
>
> like cc -E?
More information about the Gcc-bugs
mailing list