[cfe-commits] r47539 - /cfe/trunk/include/clang/Basic/LangOptions.h

Neil Booth neil at daikokuya.co.uk
Mon Feb 25 05:32:19 PST 2008


Chris Lattner wrote:-

> >>-  unsigned Digraphs          : 1;  // When added to C?  C99?
> >>+  unsigned Digraphs          : 1;  // C++ and C99
> >>  unsigned HexFloats         : 1;  // C99 Hexadecimal float  
> >>constants.
> >>  unsigned C99               : 1;  // C99 Support
> >>  unsigned Microsoft         : 1;  // Microsoft extensions.
> >
> >Note they were added in C94.
> 
> Fixed, thanks!  Good thing we distinguish between c89 and c94 :)

GCC does, but it may not be a good idea.  C94 is just an amendment
to C90.  Do you also intend to support C03 and C06 as well as C99?

Personally I think it's only necessary to support the latest
versions of C90 and C99, seeing as technically there are just those
two standards.

Neil.



More information about the cfe-commits mailing list