]> granicus.if.org Git - clang/commitdiff
Make some diags EXTENSION so they are errors with pedantic errors
authorNeil Booth <neil@daikokuya.co.uk>
Sun, 26 Aug 2007 05:01:15 +0000 (05:01 +0000)
committerNeil Booth <neil@daikokuya.co.uk>
Sun, 26 Aug 2007 05:01:15 +0000 (05:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41422 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticKinds.def

index 4835f0d508f0233b61b3678dc3707bfc403c9607..e9756fdd5531a5be54932c723e9cf8f0888f89ea 100644 (file)
@@ -731,11 +731,11 @@ DIAG(warn_case_empty_range, WARNING,
      "empty case range specified")
 DIAG(err_typecheck_return_incompatible, ERROR,
      "incompatible type returning '%1', expected '%0'")
-DIAG(ext_typecheck_return_pointer_int, WARNING,
+DIAG(ext_typecheck_return_pointer_int, EXTENSION,
      "incompatible type returning '%1', expected '%0'")
-DIAG(ext_typecheck_return_incompatible_pointer, WARNING,
+DIAG(ext_typecheck_return_incompatible_pointer, EXTENSION,
      "incompatible pointer type returning '%1', expected '%0'")
-DIAG(ext_typecheck_return_discards_qualifiers, WARNING,
+DIAG(ext_typecheck_return_discards_qualifiers, EXTENSION,
      "returning '%1' from function expecting '%0' discards qualifiers")
 DIAG(err_typecheck_statement_requires_scalar, ERROR,
      "statement requires expression of scalar type ('%0' invalid)")