explaining the compiler error messages should really be the first application of LLMs like GPT-4. in fact you can take all the knowledge crap out and just train it on programming info from gcc source code/tests & StackOverflow/GitHub. thereafter have it explain what went wrong. This would be especially useful if you are dealing with template instances and the user explains in a few sentances what they are trying to achieve.
I have multi-decade experience in coding C/C++ but its shameful how much time still gets wasted on these stupid compiler errors.