Re: gcc 4.3: when will it become standard compiler?

From: Christoph Mallon <christoph.mallon_at_gmx.de>
Date: Sat, 10 Jan 2009 19:32:28 +0100
Roman Divacky schrieb:
> On Sat, Jan 10, 2009 at 01:12:57AM +0300, Alexander Churanov wrote:
>> Folks,
>>
>> The '-std=c99'' only instructs GCC to allow the whole of C99. This is
>> clearly not enough, because this mode allows too many GCC extensions. If you
>> compile your code in "default' mode or just specify '-std=c99', then it's
>> very likely that you will eventually get stuck to GCC. Using this approach
>> you are reducing chances to switch to another C99 compiler.
>>
>> Though I am not aware of any other open source compiler supporting C99, I
>> beleive that there is great need for it. This discussion indicates that
>> there is real necessity for BSD-licensed C99 compiler.
> 
> clang (clang.llvm.org) supports almost everything now and aims for full C99
> support.
> 
> pcc aims for full C99 too I believe
> 
> Chris Mallon can comment better but I believe cparser is C99 too

cparser already supports most C99 constructs (only complex arithmetic is 
missing, mostly because nobody needed it so far). The other fancy stuff, 
like designator initializers and compound literals, works. Wide 
characters are supported, too. It's not a C99 feature per se, but C99 
allows concatenation of char and wide char string literals. Also cparser 
  can generate warnings about incorrect wide character format strings 
(GCC cannot do that).

Oh, btw, I'm Christoph. Chris (Lattner) is the LLVM guy. (;
Received on Sat Jan 10 2009 - 17:32:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC