aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.def
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2001-05-01 08:19:45 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2001-05-01 08:19:45 +0000
commitd0e66dbb95b7d611428f4974aebf0d3ac320ff41 (patch)
treebea048da7d41258ee20ceed8c9c226b67223be00 /gcc/diagnostic.def
parent048de5ad7c2f5b713a6f9b3b48d2959e0f1bd95e (diff)
downloadgcc-d0e66dbb95b7d611428f4974aebf0d3ac320ff41.zip
gcc-d0e66dbb95b7d611428f4974aebf0d3ac320ff41.tar.gz
gcc-d0e66dbb95b7d611428f4974aebf0d3ac320ff41.tar.bz2
diagnostic.def: New file.
* diagnostic.def: New file. * diagnostic.h (diagnostic_t): New enum. * Makefile.in (diagnostic.o): Depend on diagnostic.def From-SVN: r41717
Diffstat (limited to 'gcc/diagnostic.def')
-rw-r--r--gcc/diagnostic.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/diagnostic.def b/gcc/diagnostic.def
new file mode 100644
index 0000000..07aa495
--- /dev/null
+++ b/gcc/diagnostic.def
@@ -0,0 +1,7 @@
+DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "Fatal error: ")
+DEFINE_DIAGNOSTIC_KIND (DK_ICE, "Internal compiler error: ")
+DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "Sorry, unimplemented: ")
+DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "Error: ")
+DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "Warning: ")
+DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "Anachronism: ")
+DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "Note: ")