This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Gcc3.4.2 C preprocessor problem
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Andrew Walrond'" <andrew at walrond dot org>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 19 Nov 2004 17:11:09 -0000
- Subject: RE: Gcc3.4.2 C preprocessor problem
> -----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....