tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] __GNUC__ and GLIBC header mess


From: Rob Landley
Subject: Re: [Tinycc-devel] __GNUC__ and GLIBC header mess
Date: Sat, 29 Sep 2007 22:11:17 -0500
User-agent: KMail/1.9.6

On Saturday 29 September 2007 6:14:59 am Antti-Juhani Kaijanaho wrote:
> On Fri, Sep 28, 2007 at 02:59:29PM -0500, Rob Landley wrote:
> > Does the c99 spec say that undefined is < 2?  (Probably, I'm a bit rushed
> > just now, and likely to be out of touch this weekend.  Visiting
> > grandparents.)
>
> In #if directives, undefined identifiers get replaced with zeros.
> (see C99 6.10.1:3)

Ok, this is very definitely a glibc bug then.  Not ours.  __GNUC__ < 2 
triggers when __GNUC__ isn't defined, and that's wrong here.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]