Hi,
C++ template error messages are notoriously hard to decipher.
There is a (Perl) program STLFILT ( http://www.bdsoft.com/tools/stlfilt.html )
which reduces the error messages to human readable part.
What is the canonical place to add such a filter program within CodeLite.
Many thanks for a hint,
Helmut.
filter compiler error messages - how to?
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: filter compiler error messages - how to?
How would you use it in command line?
Tell me how you do it in command line and I will tell you how to set it in codelite (usually via the CXX environment variable)
Eran
Tell me how you do it in command line and I will tell you how to set it in codelite (usually via the CXX environment variable)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: filter compiler error messages - how to?
As is, the gfilt script is used instead of a g++, so I think one can let CodeLite invoke gfilt instead of g++. I'll try that.
One could change the script to invoke it as
g++ <flags> <sources...> | gfilt
but I don't know if CodeLite supports the Unix pipe operator.
Thanks for answering,
Helmut.
One could change the script to invoke it as
g++ <flags> <sources...> | gfilt
but I don't know if CodeLite supports the Unix pipe operator.
Thanks for answering,
Helmut.