This is the mail archive of the gcc-bugs@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]

Supress newlines in gcc -E macro expansion?



$ 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





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