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 11:59:16 -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 11:59 -------
Subject: Re: Do not print default template arguments in error messages
gdr at integrable-solutions dot net <gcc-bugzilla@gcc.gnu.org> wrote:
>>>> 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).
>
> which flag? A compiler option? I don't think a multiplication of
> compiler options for this stuff is a good way to go.
Then what? You said "don't do an unconditional removal". What did you mean,
exactly?
Giovanni Bajo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912