This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Degraded C++ error messages.


Douglas Gregor <gregod@cs.rpi.edu> writes:

| On Sunday 09 November 2003 12:09 am, Gabriel Dos Reis wrote:
| > | a type is a type,
| > | there is little you can change about that.  At most you can
| > | think of printing the template parameters seperatedly, and
| > | using standard or user defined typedefs to compress the type
| > | that is printed.  Ie, instead of printing
| > | std::basic_string<char, std::char_traits<char>, std::allocator<blah blah
| > | blah... why not just print 'std::string'?
| >
| > Can you submit a patch?
| >
| > -- Gaby
| 
| There's always STLfilt, which does this sort of thing in a post-processing 
| step.

Yep.
An external tool is much easier to work with because, it can be easily
configured to achieve a given task, given a consistent input. 

That is much harder to do in the compiler.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]