Supress newlines in gcc -E macro expansion?

Todd Plessel plessel.todd@epamail.epa.gov
Tue Nov 14 16:27:00 GMT 2000


$ 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?

Thanks.

Todd






More information about the Gcc-bugs mailing list