[cfe-commits] r66390 - /cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def
Chris Lattner
sabre at nondot.org
Sun Mar 8 13:13:45 PDT 2009
Author: lattner
Date: Sun Mar 8 15:13:45 2009
New Revision: 66390
URL: http://llvm.org/viewvc/llvm-project?rev=66390&view=rev
Log:
the macro redefinition ext warning should default to on, to match gcc.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def
Modified: cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def?rev=66390&r1=66389&r2=66390&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.def Sun Mar 8 15:13:45 2009
@@ -152,7 +152,7 @@
"comma operator in operand of #if")
DIAG(ext_pp_bad_vaargs_use, EXTENSION,
"__VA_ARGS__ can only appear in the expansion of a C99 variadic macro")
-DIAG(ext_pp_macro_redef, EXTENSION,
+DIAG(ext_pp_macro_redef, EXTWARN,
"%0 macro redefined")
DIAG(ext_variadic_macro, EXTENSION,
"variadic macros were introduced in C99")
More information about the cfe-commits
mailing list