> This should be a suitable simple testcase for a preprocessor. 
>  Maybe it
> would be good to see the results on other C preprocessors 
> like Solaris C so
> that we can get a good idea if gcc should continue to support 
> this even
> though I don't think it is specifically mentioned in any C standards.

The result of doing
        cc -E pasting.c > pasting_solarisc.txt 2>
pasting_solarisc_errors.txt
where cc is Solaris C 4.2 is attached.

# 1 "pasting.c"


# 3


# 6


 ( PREFIX_Good );
 ( PREFIX_Bad );
 PREFIX_Bad ;

# 13


 ( Good );
 ( VERY_Bad );
 VERY_Bad ;

#ident "acomp: WorkShop Compilers 4.2 30 Oct 1996 C 4.2"

"pasting.c", line 2: warning: invalid white space character in directive
"pasting.c", line 4: warning: invalid white space character in directive
"pasting.c", line 5: warning: invalid white space character in directive
"pasting.c", line 11: warning: invalid white space character in directive
"pasting.c", line 12: warning: invalid white space character in directive

Reply via email to