comparison gcc/diagnostic.def @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 77e2b8dfacca
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* DK_UNSPECIFIED must be first so it has a value of zero. We never
2 assign this kind to an actual diagnostic, we only use this in
3 variables that can hold a kind, to mean they have yet to have a
4 kind specified. I.e. they're uninitialized. Within the diagnostic
5 machinery, this kind also means "don't change the existing kind",
6 meaning "no change is specified". */
7 DEFINE_DIAGNOSTIC_KIND (DK_UNSPECIFIED, "")
8
9 /* If a diagnostic is set to DK_IGNORED, it won't get reported at all.
10 This is used by the diagnostic machinery when it wants to disable a
11 diagnostic without disabling the option which causes it. */
12 DEFINE_DIAGNOSTIC_KIND (DK_IGNORED, "")
13
14 /* The remainder are real diagnostic types. */
15 DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "fatal error: ")
16 DEFINE_DIAGNOSTIC_KIND (DK_ICE, "internal compiler error: ")
17 DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "error: ")
18 DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ")
19 DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ")
20 DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ")
21 DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ")
22 DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ")
23 /* These two would be re-classified as DK_WARNING or DK_ERROR, so the
24 prefix does not matter. */
25 DEFINE_DIAGNOSTIC_KIND (DK_PEDWARN, "pedwarn: ")
26 DEFINE_DIAGNOSTIC_KIND (DK_PERMERROR, "permerror: ")
27