How to fix SCons not providing colored GCC/C++ output
You can force SCons to provide colored output when using GCC or G++ by adding
-fdiagnostics-color=always
to your CFLAGS
or CXXFLAGS
. Typically, my recommendation is to add it to both CFLAGS
and CXXFLAGS
.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow