Gcc3.4.2 C preprocessor problem
Dave Korn
dk@artimi.com
Fri Nov 19 17:58:00 GMT 2004
> -----Original Message-----
> From: Andrew Walrond
> Sent: 19 November 2004 16:29
> On Friday 19 Nov 2004 16:18, Dave Korn wrote:
> >
> > Your code is buggy. Preprocessor pasting concatenates
> two tokens into
> > one single one. But you want the . operator to be a
> separate token from
> > the struct member. Just omit the pasting and you'll be fine.
> >
>
> Of course. stupid of me.
> Thanks Dave, for the speedy response :)
>
> Andrew
LOL. Speedy because I did pretty much the _exact_ same thing myself a few
months back, and it just popped right to the front of my memory!
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Gcc
mailing list