From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: What's the deal with the new Compaq C for Linux/AXP ..
Date: Tue, 7 Sep 1999 10:07:10 -0600 (MDT) [thread overview]
Message-ID: <199909071607.KAA29146@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <412567E5.003BF4C7.00@saturn.aladdin.de> from "Christian Groessler" at Sep 7, 99 11:50:40 am
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
next prev parent reply other threads:[~1999-09-07 16:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-07 10:50 What's the deal with the new Compaq C for Linux/AXP Christian Groessler
1999-09-07 16:07 ` Michal Jaegermann [this message]
1999-09-08 9:11 ` Thomas Leitner
-- strict thread matches above, loose matches on Subject: below --
1999-09-08 9:26 Christian Groessler
1999-09-07 5:32 Designer Seven
1999-09-07 1:31 Designer Seven
1999-09-06 18:42 SCSI recommendations Jeff DeMaagd
1999-09-06 18:49 ` What's the deal with the new Compaq C for Linux/AXP Thomas Leitner
[not found] ` <tom@radar.tu-graz.ac.at>
1999-09-07 4:03 ` Christoph Dworzak
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox