How to force GCC/G++ to provide colored output

Just add the

gcc_flag.txt
-fdiagnostics-color=always

compiler flag


Check out similar posts by category: C/C++