________________________________ > Date: Sun, 7 Sep 2014 10:14:43 +0200 > From: [email protected] > To: [email protected] > Subject: [Msys2-users] GCC_COLORS > > Hey guys, > > I don't know where else to write this question. Since we are all here > advanced users of bleeding edge Unix utilities on Windows, this > question might be appropriate and interesting to others. > > Those of you who extensively develop native software in C/C++ probably > know of those sweet features that GCC 4.9 series brought to the table. > One of them is colorized > diagnostics<https://gcc.gnu.org/gcc-4.9/changes.html>. > > According to the documentation, I have created the environment variable > GCC_COLORS and it contains > "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01", > but unfortunately, the output emitted by GCC is still not colorized. On Windows, colorized diagnostic is disabled. See gcc/diagnostic-color.c. If you remove #if preprocessor and set TERM environment variable correctly, you can use -fdiagnostics-color. I use this patch (https://raw.githubusercontent.com/nak5124/build_env/master/gcc_build/patches/gcc/0010-color.patch) and -fdiagnostics-color=always.
> Maybe it has something to do with the terminal emulator. I'm using > ConEmu<https://code.google.com/p/conemu-maximus5/>. Hopefully somebody > who uses ConEmu has been able to find out what's the deal here. Please, > share your experiences. Thanks. > > Kind regards, > Alexander > > > ------------------------------------------------------------------------------ > > Slashdot TV. Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ Msys2-users mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
