[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1fc1f89: Disable gcc color in test/automated/data/f
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 1fc1f89: Disable gcc color in test/automated/data/flymake/Makefile |
Date: |
Tue, 16 Dec 2014 02:08:53 +0000 |
branch: master
commit 1fc1f89341daa10f9318f60d03493b5bbfd7e12e
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Disable gcc color in test/automated/data/flymake/Makefile
* test/automated/data/flymake/Makefile (check-syntax):
Prevent colorized gcc output from confusing flymake.
---
test/ChangeLog | 4 ++++
test/automated/data/flymake/Makefile | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/test/ChangeLog b/test/ChangeLog
index 6fa1186..78a03d1 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,7 +1,11 @@
2014-12-16 Glenn Morris <address@hidden>
+ * automated/data/flymake/Makefile (check-syntax):
+ Prevent colorized gcc output from confusing flymake.
+
* automated/flymake-tests.el (flymake-tests-data-directory):
Change from flymake/warnpred to more standard data/flymake.
+ * automated/flymake/warnpred/: Rename to automated/data/flymake/.
2014-12-11 Michael Albinus <address@hidden>
diff --git a/test/automated/data/flymake/Makefile
b/test/automated/data/flymake/Makefile
index 33af51c..a92db78 100644
--- a/test/automated/data/flymake/Makefile
+++ b/test/automated/data/flymake/Makefile
@@ -2,7 +2,10 @@
CC_OPTS = -Wall
+## Recent gcc's (e.g. 4.8.2 on RHEL7) can automatically colorize their output,
+## which can confuse flymake. Set GCC_COLORS to disable that.
+## TODO is this something that should be fixed in flymake?
check-syntax:
- $(CC) $(CC_OPTS) ${CHK_SOURCES}
+ GCC_COLORS= $(CC) $(CC_OPTS) ${CHK_SOURCES}
# eof
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1fc1f89: Disable gcc color in test/automated/data/flymake/Makefile,
Glenn Morris <=