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

macros with traditional cpp


The preprocessor used to accept code like this both with and without 
-traditional:

	#define foo(x...) x
	foo(one,two)

Now, -traditional causes an error like:

t.c:1: badly punctuated parameter list in #define

Is this intentional?

Thanks

p.



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