surpress default parameters in error messages ?
Kai Schuetz
kais@i6.informatik.rwth-aachen.de
Thu Jun 18 07:38:00 GMT 1998
I use the STL a lot, and it works fine, besides the error messages.
My proposal:
To make error messages more readable it would be useful to supress the
output of default template parameters (perhaps with a -W... flag).
This would make out of
CFGAlgorithms.cc:332: warning: passing `const
vector<Symbol,__default_alloc_template<false,0> >' as `this' argument of
`class Symbol * vector<Symbol,__default_alloc_template<false,0>
>::erase(class Symbol *, class Symbol *)' discards const
the following:
CFGAlgorithms.cc:332: warning: passing `const vector<Symbol>' as `this'
argument of `class Symbol * vector<Symbol>::erase(class Symbol *, class
Symbol *)' discards const
Much easier to read, isn't it ???
--
|/
|\ai
--------------------------------------------------------------------------------
Kai Schuetz
mailto:kais@i6.informatik.rwth-aachen.de
Hi, I'm not a signature virus. Why don't you just copy me into your
signature?
--------------------------------------------------------------------------------
More information about the Gcc
mailing list