Fix libstdc++/12365

Carlo Wood carlo@alinoe.com
Mon Sep 22 14:32:00 GMT 2003


On Mon, Sep 22, 2003 at 03:42:38PM +0200, Paolo Carlini wrote:
> Hi all, hi Carlo,
> 
> the below is a /minimal/ fix for the warning pointed out by the PR,
> regression tested (on x86/linux) of course.
> 
> Is it ok with you?

It's the same as the patch that I already uploaded to GNATS,
after seeing the bug report :p.
So yes, you can say I am ok with it.

> Alternatively, I can look into entirely removing cv_qualifier_nt: seems not
> really used, currently...

Please don't.  It is used for overloading purposes, and although
not really needed - I prefer to keep it this way then to rely
on a coincidental unambiguous overloadable parameter list of
vague int's and strings :).  Another way would be to change the
name of the function instead (use add_cv_qualifier_start(...)
instead of add_qualifier_start(cv_qualifier, ...)), but there
isn't REALLY a difference, except that now you can do a reg.exp
search on 'add_qualifier_start' in the source code and get ALL
functions that add qualifiers.

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Libstdc++ mailing list