Change the text of a gcc compiler error
Posted
by NSA
on Stack Overflow
See other posts from Stack Overflow
or by NSA
Published on 2010-05-04T16:59:57Z
Indexed on
2010/05/04
17:08 UTC
Read the original article
Hit count: 199
Hello,
At my company we have recently done some tricky stuff with C++ and templates, making use of some features of the compiler. When working with this code people need to take a few setup steps otherwise they get some rather cryptic compiler errors, what I would like to do is determine if there is a way to tell the compiler to inject, and or swap out the message published for an error when compiling? so that I either get a friendly message that instructs the person in conjunction with the cryptic error or instead of the cryptic error.
Thank you.
© Stack Overflow or respective owner