This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14912] Do not print default template arguments in error messages
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2005 00:30:54 -0000
- Subject: [Bug c++/14912] Do not print default template arguments in error messages
- References: <20040410193158.14912.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-03-26 00:30 -------
(In reply to comment #14)
> | The first patch will deal with just removal of default
> | arguments, and I believe that the less intrusive and clean solution is to
> | display <default> in the "with" clause.
> please:
> (1) don't do an unconditional removal;
> (2) don't show <default>.
> I would oppose any patch short of that.
Yes, the remove will be conditioned on a flag (but I believe this has to become
the default).
About the <default>, I don't understand what you are proposing as an
alternative. Are you proposing to completely remove those template parameters
from the "with" clause? To me it's almost indifferent. I believe the <default>
is clearer, but I'm not strong on it either, and I am happy to change it if it
has to be a showstopper for the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912