Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Thomas Leitner <tom@radar.tu-graz.ac.at>
To: Christian Groessler <cpg@aladdin.de>
Cc: axp-list@redhat.com, recipient list not shown: ;
Subject: Re: What's the deal with the new Compaq C for Linux/AXP ..
Date: Wed, 8 Sep 1999 11:11:38 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.OSF.4.10.9909081108030.29236-100000@finwal01.tu-graz.ac.at> (raw)
In-Reply-To: <412567E5.003BF4C7.00@saturn.aladdin.de>


On Tue, 7 Sep 1999, Christian Groessler wrote:

> I've got this program:

[...]

> If I try to compile it I get:
> 
> --------------
> [chris@alpha:~]$ ccc -c ccc-bug.c
> cc: Error: ccc-bug.c, line 4: Missing ";". (nosemi)
> XXX(0ea) { return; }
> ^
> cc: Error: ccc-bug.c, line 4: The type of the tentatively-defined variable
> "bla0e" is incomplete at the end of the compilation unit.
> (incomptent)XXX(0ea) { return; }
> ^
> [chris@alpha:~]$
> --------------

This does not happen under Digital Unix (Tru64) 4.0E: 

csh> cat l.c
#define XXX(xxx) void bla##xxx(void)

XXX(08a) { return; }
XXX(0ea) { return; }
csh> cc -c l.c
csh> cc -V | head -1
DEC C V5.8-011 on Digital UNIX V4.0 (Rev. 1091)
csh> cc -E l.c
# 1 "l.c"


void bla08a(void) { return; }
void bla0ea(void) { return; }

So I think you should file a bug report.

Tom
-- 
--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!



  parent reply	other threads:[~1999-09-08  9:11 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
1999-09-08  9:11 ` Thomas Leitner [this message]
  -- 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