On Tue, 5 Apr 2016, at 13:09, Baruch Burstein wrote: > Hi, > > When compiling with clang(++) from the msys shell, the output is not colored. > To get colors, I needed to add " -fansi-escape-codes -fcolor-diagnostics". > How do I make this the default by me? And can this be made the default for > the clang package? > > Thank you, > Baruch
Try setting CLANG_FORCE_COLOR_DIAGNOSTICS. Unfortunately the whole "colored output" situation isn't standardized. I think because msys doesn't support terminfo, that there's no colored output by default. You might also check out this bug report I've created about a year ago: https://llvm.org/bugs/show_bug.cgi?id=23609 ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users