如何强制 GCC/G++ 提供彩色输出

只需添加

gcc_flag.txt
-fdiagnostics-color=always

编译器标志


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