3 ms·
Since when does gcc give out colorful output, and how do I get it to do it all the time?
by Something1234 10y ago
Since when does gcc give out colorful output, and how do I get it to do it all the time?
- antocv 10y agoAdd this flag to it -fdiagnostics-color=always If you dont want to mess with gcc flags in all your projects, add the GCC_COLORS env variable to your shell, like just export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'` to your ~/.bashrc or other shell rc.