Mercurial > hg > CbC > CbC_gcc
comparison gcc/diagnostic.def @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Copyright (C) 2001-2018 Free Software Foundation, Inc. | 1 /* Copyright (C) 2001-2020 Free Software Foundation, Inc. |
2 | 2 |
3 This file is part of GCC. | 3 This file is part of GCC. |
4 | 4 |
5 GCC is free software; you can redistribute it and/or modify it under | 5 GCC is free software; you can redistribute it and/or modify it under |
6 the terms of the GNU General Public License as published by the Free | 6 the terms of the GNU General Public License as published by the Free |
36 DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ", "error") | 36 DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ", "error") |
37 DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ", "warning") | 37 DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ", "warning") |
38 DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ", "warning") | 38 DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ", "warning") |
39 DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ", "note") | 39 DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ", "note") |
40 DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ", "note") | 40 DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ", "note") |
41 | |
42 /* For use when using the diagnostic_show_locus machinery to show | |
43 a range of events within a path. */ | |
44 DEFINE_DIAGNOSTIC_KIND (DK_DIAGNOSTIC_PATH, "path: ", "path") | |
45 | |
41 /* These two would be re-classified as DK_WARNING or DK_ERROR, so the | 46 /* These two would be re-classified as DK_WARNING or DK_ERROR, so the |
42 prefix does not matter. */ | 47 prefix does not matter. */ |
43 DEFINE_DIAGNOSTIC_KIND (DK_PEDWARN, "pedwarn: ", NULL) | 48 DEFINE_DIAGNOSTIC_KIND (DK_PEDWARN, "pedwarn: ", NULL) |
44 DEFINE_DIAGNOSTIC_KIND (DK_PERMERROR, "permerror: ", NULL) | 49 DEFINE_DIAGNOSTIC_KIND (DK_PERMERROR, "permerror: ", NULL) |
45 /* This one is just for counting DK_WARNING promoted to DK_ERROR | 50 /* This one is just for counting DK_WARNING promoted to DK_ERROR |