From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27569 invoked from network); 7 Sep 1999 16:07:14 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Sep 1999 16:07:14 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA23844 for ; Tue, 7 Sep 1999 12:07:13 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA29146 for axp-list@redhat.com; Tue, 7 Sep 1999 10:07:10 -0600 From: Michal Jaegermann Message-Id: <199909071607.KAA29146@ellpspace.math.ualberta.ca> Subject: Re: What's the deal with the new Compaq C for Linux/AXP .. To: axp-list@redhat.com Date: Tue, 7 Sep 1999 10:07:10 -0600 (MDT) In-Reply-To: <412567E5.003BF4C7.00@saturn.aladdin.de> from "Christian Groessler" at Sep 7, 99 11:50:40 am Content-Type: text Christian Groessler wrote: > > I've got this program: > > ------------- > #define XXX(xxx) void bla##xxx(void) > > XXX(08a) { return; } > XXX(0ea) { return; } > ------------- ..... > > Looking at the preprocessed source (ccc -E ccc-bug.c); > > -------------- > [chris@alpha:~]$ ccc -E ccc-bug.c > # 1 "ccc-bug.c" > > > void bla08a ( void ) { return; } > void bla0e a ( void ) { return; } > > > [chris@alpha:~]$ > -------------- > > The preprocessor inserts a space in the second XXX() line. This space > depends > on the parameter to XXX(). Is it possible that this is not an ANSI preprocessor but some ancient one? What happens if you try this old, preprocessor dependent, hack: #define XXX(xxx) void bla/**/xxx(void) --mj