This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: expected declaration specifiers or ... before ( token
- From: John Love-Jensen <eljay at adobe dot com>
- To: Manfred Dill <Manfred dot Dill at bmw dot de>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 15 Aug 2006 14:25:41 -0500
- Subject: Re: expected declaration specifiers or ... before ( token
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