Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any mechanism to make STL compilation errors more readable?

0 views
Skip to first unread message

ccal...@gmail.com

unread,
Jan 3, 2009, 12:43:57 AM1/3/09
to
Hello,

Apologies if this has been asked and answered before. I tried
searching for it but could not find a good answer.

Is there any mechanism (like an external script or anything really)
that would parse out the giant compilation errors printed out (mostly
related to STL) and emit out a bit more readable information. For
example, when I get a compilation error about a vector<string>, most
of the times I do not really need to know about so many details about
strings.

I know purists will disagree :-) and I completely agree that one
should write code that just compiles :-), but then I am a human being
and these 10 page long errors are really killing me.

Please do reply if you know.

--
Bruce
----------------------------------------------------------------------------------------------
Life is the art of drawing sufficient conclusions from insufficient
premises.

My finance blog:
Smarter investments using covered calls - http://covcalls.blogspot.com
----------------------------------------------------------------------------------------------

jason.c...@gmail.com

unread,
Jan 3, 2009, 1:50:07 AM1/3/09
to
On Jan 3, 12:43 am, ccalls...@gmail.com wrote:
> Hello,
>
>   Apologies if this has been asked and answered before. I tried
> searching for it but could not find a good answer.
>
>   Is there any mechanism (like an external script or anything really)
> that would parse out the giant compilation errors printed out (mostly
> related to STL) and emit out a bit more readable information. For
> example, when I get a compilation error about a vector<string>, most
> of the times I do not really need to know about so many details about
> strings.
>
>   I know purists will disagree :-) and I completely agree that one
> should write code that just compiles :-), but then I am a human being
> and these 10 page long errors are really killing me.


In fact, there is an excellent error message filter designed
specifically for that purpose here:

http://www.bdsoft.com/tools/stlfilt.html

It is compatible with most common compilers and IDE's.


Jason

0 new messages