This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Couple of new issues in mainline


Paolo Carlini wrote:

> I think that, for various reasons (the function is not exported + the
> type qualifier is indeed ignored), it's safe to simply remove the const
> qualifier, as in the below, which I'm finishing testing and mean to
> apply later today.

Just for the record: it's always safe to do remove the qualifier if you
get the warning, since the qualified is not part of the mangled name
anyhow.  When the front-end says "ignored" it really means it -- it's as
if you never wrote the "const" in the first place.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]