]> granicus.if.org Git - clang/commitdiff
make missing prototypes warn by default in c99 mode like GCC does,
authorChris Lattner <sabre@nondot.org>
Sat, 9 Jan 2010 20:43:38 +0000 (20:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Jan 2010 20:43:38 +0000 (20:43 +0000)
rdar://7083878

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93073 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index ac6d3ec866cedaa9c85335ad80e98b567f7e39e8..7d668a0ffea86eebff8bcdfce2a3064a28d71524 100644 (file)
@@ -89,7 +89,7 @@ def warn_decl_in_param_list : Warning<
 def warn_implicit_function_decl : Warning<
   "implicit declaration of function %0">,
   InGroup<ImplicitFunctionDeclare>, DefaultIgnore;
-def ext_implicit_function_decl : Extension<
+def ext_implicit_function_decl : ExtWarn<
   "implicit declaration of function %0 is invalid in C99">,
   InGroup<ImplicitFunctionDeclare>;