diff options
author | synergydev <synergye@codefi.re> | 2013-08-08 04:40:50 -0700 |
---|---|---|
committer | synergydev <synergye@codefi.re> | 2013-08-08 15:04:43 -0700 |
commit | b418cc876926be9532aa8ea868186aa92ed462a0 (patch) | |
tree | 6157be055e3b838af0c65f9b95824580b5ddc7e7 /gcc-4.8/gcc/diagnostic-core.h | |
parent | 34cef20a1108ff399ecbe13f42e1f6bc8c909b27 (diff) | |
download | toolchain_gcc-b418cc876926be9532aa8ea868186aa92ed462a0.tar.gz toolchain_gcc-b418cc876926be9532aa8ea868186aa92ed462a0.tar.bz2 toolchain_gcc-b418cc876926be9532aa8ea868186aa92ed462a0.zip |
[4.8] Backport diagnostic color support from trunk
Squashed commit of r197841, r197842, and r198332 from trunk.
This is capable of coloring errors, warnings, notes, carets, locus', and/or quotes.
Documentation for this feature may be found here:
http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html
Change-Id: I14f2f852562d18fcef807583635e4e2ceee64829
Diffstat (limited to 'gcc-4.8/gcc/diagnostic-core.h')
-rw-r--r-- | gcc-4.8/gcc/diagnostic-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.8/gcc/diagnostic-core.h b/gcc-4.8/gcc/diagnostic-core.h index 68ec837fc..a2107820e 100644 --- a/gcc-4.8/gcc/diagnostic-core.h +++ b/gcc-4.8/gcc/diagnostic-core.h @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see /* Constants used to discriminate diagnostics. */ typedef enum { -#define DEFINE_DIAGNOSTIC_KIND(K, msgid) K, +#define DEFINE_DIAGNOSTIC_KIND(K, msgid, C) K, #include "diagnostic.def" #undef DEFINE_DIAGNOSTIC_KIND DK_LAST_DIAGNOSTIC_KIND, |