]> granicus.if.org Git - clang/commitdiff
the macro redefinition ext warning should default to on, to match gcc.
authorChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 20:13:45 +0000 (20:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 20:13:45 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66390 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticLexKinds.def

index f1d918ea0286da454cde42b7fa072b0eaa6d78dd..fb701d6f60b22578720bb2f706cc5a5169d8b025 100644 (file)
@@ -152,7 +152,7 @@ DIAG(ext_pp_comma_expr, EXTENSION,
      "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")