From owner-freebsd-hackers Wed Jul 22 07:41:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12054 for freebsd-hackers-outgoing; Wed, 22 Jul 1998 07:41:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12028; Wed, 22 Jul 1998 07:41:03 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id KAA29799; Wed, 22 Jul 1998 10:40:41 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id LAA01802; Wed, 22 Jul 1998 11:12:38 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id KAA00397; Wed, 22 Jul 1998 10:44:47 -0400 (EDT) Date: Wed, 22 Jul 1998 10:44:47 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807221444.KAA00397@lakes.dignus.com> To: hackers@hub.freebsd.org, jmb@FreeBSD.ORG Subject: Re: macro expansion with gcc In-Reply-To: <199807221253.FAA24720@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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