[cfe-dev] [Patch] Support for -std=c9x
Ed Schouten
ed at 80386.nl
Mon Apr 6 08:32:19 PDT 2009
Hi all,
I've noticed there are some packages that use -std=c9x when the compiler
is GCC compatible. According to the manpage, -std=c9x is equal to
-std=c99. Any comments on this patch?
Index: tools/clang-cc/clang-cc.cpp
===================================================================
--- tools/clang-cc/clang-cc.cpp (revision 68443)
+++ tools/clang-cc/clang-cc.cpp (working copy)
@@ -499,7 +499,7 @@
clEnumValN(lang_c94, "iso9899:199409",
"ISO C 1990 with amendment 1"),
clEnumValN(lang_c99, "c99", "ISO C 1999"),
-// clEnumValN(lang_c99, "c9x", "ISO C 1999"),
+ clEnumValN(lang_c99, "c9x", "ISO C 1999"),
clEnumValN(lang_c99, "iso9899:1999", "ISO C 1999"),
// clEnumValN(lang_c99, "iso9899:199x", "ISO C 1999"),
clEnumValN(lang_gnu89, "gnu89",
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090406/92bef3cc/attachment.sig>
More information about the cfe-dev
mailing list