7

Are there any programs for parsing and displaying in a nice format the c++ error messages generated by gcc.
I'm really looking for something like less that I can pipe my errors into that will collapse the template parameter lists by default, maybe with some nice highlighting so that my errors are actually readable.

(Yes, it's boost's fault I have such incomprehensible errors, in case you were wondering)

1
  • I generally use less myself... that way I can see the very first line of error quickly and in most cases that's enough for me to fix the error. make | less -S ... Commented Jan 13, 2014 at 22:12

3 Answers 3

1

STL Error Decryptor (AKA STLFilt) can help decode them. I've had mixed results.

Sign up to request clarification or add additional context in comments.

Comments

0

Both STLFilt and TextFilt format and filter complicated c++ error messages.

STLFilt has more features and seems to be better maintained.

TextFilt is more customizable.

Comments

0

This is the way that I have used to resolve this issue, it might not be the best but it helps a lot if you have a heavily templated C++ code.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.