C1X going forward

Paulo Pinto pjmlp at progtools.org
Mon May 9 00:20:05 PDT 2011


Do the new C standards still matter?

Most commercial C compilers are only C89 compliant, with a few C99 features 
on top, if any.

It seems that C89 is good enough for the tasks people still use C for, 
otherwise other languages are used and as such the
new features are not compeling to sell new compilers.

--
Paulo

"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:iq7ahc$2ud8$1 at digitalmars.com...
>D is somewhat backwards compatible with C, you are also able to use the C 
>std library too. But what C? C89, C99 or C1X? GCC 4.6 introduces some 
>features of C1X. Some info about the upcoming standard:
> http://en.wikipedia.org/wiki/C1X
>
> In C1X there is _Noreturn, it seems interesting:
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1453.htm
> In C++0x it's [[noreturn]], and the nonstandard GCC extension is 
> __attribute__((noreturn)).
>
> There are also the gets_s() function that replaces gets(), and 
> aligned_alloc().
>
> Bye,
> bearophile 




More information about the Digitalmars-d mailing list