I put together a tiny python script towards which you can pipe GCC's error output:

https://github.com/Mikejmoffitt/gccerrc/
Install python3 if your distro hasn't already got it, and configure your makefile in a way that is similar to the usage example shown (on the line with $(CC), add 2>&1 | python3 gccerrc.py)