diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-04-26 08:55:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-04-26 08:55:56 +0200 |
commit | a2e836b2ac02b691a2085888d3a73d0296e93970 (patch) | |
tree | 51e30ba36c159ac77b30129857b8d14e386bd6bd /gcc/diagnostic-color.c | |
parent | e78e8a0b19f9becc90a0bcb4684fb83eae10533f (diff) |
Makefile.in (toplev.o): Depend on diagnostic-color.h.
* Makefile.in (toplev.o): Depend on diagnostic-color.h.
* diagnostic-color.c (should_colorize): Remove _WIN32 version.
(colorize_init): Add argument to _WIN32 version.
* toplev.c: Include diagnostic-color.h.
(process_options): Default to -fdiagnostics-color=auto if
GCC_COLORS env var is in the environment.
* common.opt (fdiagnostics-color=): Add Var and Init.
* doc/invoke.texi (-fdiagnostics-color=): Document that if
GCC_COLORS env var is in the environment, the default is auto
rather than never.
* lib/prune.exp: Add -fdiagnostics-color=never to TEST_ALWAYS_FLAGS.
* lib/c-compat.exp (compat-use-alt-compiler, compat_setup_dfp): Handle
-fdiagnostics-color=never option similarly to
-fno-diagnostics-show-caret option.
From-SVN: r198332
Diffstat (limited to 'gcc/diagnostic-color.c')
-rw-r--r-- | gcc/diagnostic-color.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/diagnostic-color.c b/gcc/diagnostic-color.c index 8680b504af5..a1c508a0735 100644 --- a/gcc/diagnostic-color.c +++ b/gcc/diagnostic-color.c @@ -264,14 +264,8 @@ parse_gcc_colors (void) } #if defined(_WIN32) -static bool -should_colorize (void) -{ - return false; -} - bool -colorize_init (void) +colorize_init (diagnostic_color_rule_t) { return false; } |