[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Today's bug...
From: |
Dave Dodge |
Subject: |
Re: [Tinycc-devel] Today's bug... |
Date: |
Thu, 6 Sep 2007 18:19:15 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Sep 06, 2007 at 06:33:14AM -0500, Rob Landley wrote:
> It seems that the right thing to do is set __STDC_VERSION__ to show we have
> c99, which I did, although now includes of regex.h are barfing. This might
> be a glibc bug, or might be that we need to understand "restrict",
Note that if "restrict" turns out to be the problem, one option is to
recognize but ignore the keyword entirely. Assuming the program being
compiled is written correctly, it won't make any semantic difference
to simply pretend that the "restrict" isn't there:
The intended use of the restrict qualifier (like the register
storage class) is to promote optimization, and deleting all
instances of the qualifier from a conforming program does not
change its meaning (i.e., observable behavior).
-Dave Dodge