Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Greg Lindahl" <glindahl@hpti.com>
To: <axp-list@redhat.com>
Subject: RE: ccc error
Date: Tue, 9 Jan 2001 08:51:21 -0500	[thread overview]
Message-ID: <000f01c07a43$3f7b0c00$8cf8fea9@hptilap.hpti.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10101090223500.20236-100000@cc42593-a.taylor1.mi.home.com>

> Does anyone know if the following is valid C:
>
> extern int a;
> extern int b;
>
> void f(int x) {
> 	(x ? a : b) = 1;
> }

This is a gcc extension. You can look in the info pages to see what gcc has
as extensions, or you can use the -ansi flag on gcc to get it to issue
warnings about its own extensions.

I believe that the ccc people plan on eventually adding all of gcc's
extensions to ccc, which would be a great boon to AlphaLinux users.

-- g




  parent reply	other threads:[~2001-01-09 13:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.10.10101090204570.19797-100000@cc42593-a.taylor1.mi.home.com>
2001-01-09  7:26 ` ccc error jeff.sturm
2001-01-09  9:49   ` Georg Wittig
2001-01-09  9:58     ` Uncle George
2001-01-09 16:35     ` Michal Jaegermann
2001-01-09 13:51   ` Greg Lindahl [this message]
2001-01-09 13:59     ` Thomas Leitner
2001-01-09 16:51     ` Jeff Sturm
2001-01-09 18:05       ` ccc error [OT] Chris Eleveld (Sector 7 Group)
2001-01-09 18:20         ` Michal Jaegermann
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