https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208947
Bug ID: 208947
Summary: bsd-make looses colored output with -j 2
Product: Base System
Version: 10.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Since version 5 of GCC and in all recent versions of clang color is used to
greatly enhance the readability of the compiler output.
With FreeBSD's make the color disappears, as soon as you use multiple jobs
which is something you almost always want to do.
To reproduce, create
==test.cpp==
#include <iostream>
int main()
{
std::cout << "foo" << "bar;
return 0;
}
==Makefile==
test: test.cpp
g++5 -o test test.cpp -std=c++14
% make
[see output with color]
% gmake
[see output with color]
% make -j 2
[no color :'(]
% gmake
[see output with color]
This might seems like it is not really important, but for larger codebases with
templatatized code (and thus huge error messages) it makes a big difference!
Also, I suspect it wouldn't be too hard to fix?
Thank you very much!
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"