How to force GCC/G++ to provide colored output
Just add the
-fdiagnostics-color=always
compiler flag
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow