From: Eli Friedman Date: Wed, 1 Apr 2009 02:48:25 +0000 (+0000) Subject: Flip diagnostic from Warning to ExtWarn so that it's an error X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c105c403025a42ef49641586ba34c23bbfa7958;p=clang Flip diagnostic from Warning to ExtWarn so that it's an error with -pedantic-errors. This fixes the C99 part of PR3919. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 82ebdaddc1..087e0c63bc 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -86,7 +86,7 @@ def pp_hash_warning : Warning<"#warning%0">; def pp_include_next_in_primary : Warning< "#include_next in primary source file">; def pp_include_next_absolute_path : Warning<"#include_next with absolute path">; -def ext_c99_whitespace_required_after_macro_name : Warning< +def ext_c99_whitespace_required_after_macro_name : ExtWarn< "ISO C99 requires whitespace after the macro name">; def pp_pragma_once_in_main_file : Warning<"#pragma once in main file">; def pp_pragma_sysheader_in_main_file : Warning<