------- Additional Comments From gdr at integrable-solutions dot net  
2005-03-26 15:40 -------
Subject: Re:  Do not print default template arguments in error messages

"giovannibajo at libero dot it" <[EMAIL PROTECTED]> writes:

| ------- 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 <[EMAIL PROTECTED]> 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?


Use the format flags -- I think I already said that -- '#'.
If it is present (i.e. the verbose parameter non zero, therefore the
flags asking for default values) then honor it.  Otherwise effectively
don't print the default values.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912

Reply via email to