Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 10:44:47 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        hackers@hub.freebsd.org, jmb@FreeBSD.ORG
Subject:   Re: macro expansion with gcc
Message-ID:  <199807221444.KAA00397@lakes.dignus.com>
In-Reply-To: <199807221253.FAA24720@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 	gcc -E runs the preprocessor, so i expected that all macros
> 	would be expanded....but thats not what happened.
> 
> 	what switch do i need to get the token pasting "##" 
> 	operation to take effect and leave behind the C code?
> 
> 
> jmb
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 

 It should have expanded everything... token pasting is a little
tricky though..., so it may not be pasting the way you expect. 
[I know I, personally, frequently get this wrong.] Can you point us 
to an example where it didn't seem to do the expansion?

	- Dave R. - 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807221444.KAA00397>