[omniORB] BUG: macro expansion problem

Colin Caughie cfc@indigo-avs.com
Fri, 7 May 1999 13:21:48 +0100


> -----Original Message-----
> From: Alex Hornby [mailto:alex@anvil.co.uk]
> Sent: Friday, 7 May 1999 12:47
> To: omniorb-list@uk.research.att.com
> Subject: [omniORB] BUG: macro expansion problem
> 
> 
> Dear all,
> 
> Macro expansion is not being done properly, as the ## is left in.
> I know macros are nasty, but one of our developers is very 
> attached to 
> them.
> 
> ...
>
> #define EV_TAG(tag) \
> 	struct evtag_ ## tag { \
> 		tag value; \
> 		string errortext; \
> 	}


Have you tried removing the spaces on either side of the ##?

Just a thought,

Colin Caughie (A macro fan!)