expected declaration specifiers or ... before ( token

John Love-Jensen eljay@adobe.com
Tue Aug 15 19:43:00 GMT 2006


Hi Manfred,

I think this will rectify the problem:

#define _C2(func,args) func args

The problem is that the ## preprocessor operator binds two partial
identifiers into one whole identifier.  The parameters specified are not two
partial identifiers (identifier fragments), hence is an error when ##'d
together.

HTH,
--Eljay



More information about the Gcc-help mailing list