Subject: Re: [boost] TMP error messages [ was Re: New libraries implementing C++11 features in C++03 ]
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-11-25 10:51:28
On 11/25/2011 11:38 PM, Roland Bock wrote:
> On 11/25/2011 03:04 AM, Maxim Yanchenko wrote:
>> Joel de Guzman <joel <at> boost-consulting.com> writes:
>>> Now. What else can we do about it? Here's an idea. I'd like to
>>> hear yours.
>>> It might be good to present that in a GUI where the types are
>>> collapsed by default. Qualifications in a trace can also be
>>> optionally collapsed.
>> Hi Joel, it's a very correct idea. In our team, I made a perl script that cleans
>> out all compiler noise (GCC) and has some special handling for common cases like
>> MPL_ASSERT, CONCEPT_CHECK etc.
>> This runs for years already and proven to be extremely effective in nailing down
> This sounds very interesting indeed. It would be cool to use it like
> ccache, i.e.
> tmpMessageFilter -> ccache -> g++
I'm very interested. How can we get ahold of this? G++ is a good start.
I'd love to see something for the "other" popular compiler as well ;-)
Such a tool will be invaluable in fighting the deluge of error messages.
Ideally, I'd love to see the presentation dynamically, like in my original
idea where users can click to expand the errors at any given point in
the trace. Perhaps this is a good GSoC project.
Let's have it, Maxim! :-)
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk