[cfe-commits] r41422 - /cfe/trunk/include/clang/Basic/DiagnosticKinds.def
Neil Booth
neil at daikokuya.co.uk
Sat Aug 25 22:01:15 PDT 2007
Author: neil
Date: Sun Aug 26 00:01:15 2007
New Revision: 41422
URL: http://llvm.org/viewvc/llvm-project?rev=41422&view=rev
Log:
Make some diags EXTENSION so they are errors with pedantic errors
Modified:
cfe/trunk/include/clang/Basic/DiagnosticKinds.def
Modified: cfe/trunk/include/clang/Basic/DiagnosticKinds.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticKinds.def?rev=41422&r1=41421&r2=41422&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticKinds.def Sun Aug 26 00:01:15 2007
@@ -731,11 +731,11 @@
"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)")
More information about the cfe-commits
mailing list