]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable gcc color in test/automated/data/flymake/Makefile
authorGlenn Morris <rgm@gnu.org>
Tue, 16 Dec 2014 02:08:40 +0000 (21:08 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 16 Dec 2014 02:08:40 +0000 (21:08 -0500)
* test/automated/data/flymake/Makefile (check-syntax):
Prevent colorized gcc output from confusing flymake.

test/ChangeLog
test/automated/data/flymake/Makefile

index 6fa11867a5e7d41bf218889c9376ce17062eb0e7..78a03d1b335255773694c906d4bb43c3e7e9bd2d 100644 (file)
@@ -1,7 +1,11 @@
 2014-12-16  Glenn Morris  <rgm@gnu.org>
 
+       * 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  <michael.albinus@gmx.de>
 
index 33af51c3337308eda44a752062f09bab114de74d..a92db78b46fbed6c697d2a4583fc23f68ee107ea 100644 (file)
@@ -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