Couple of new issues in mainline
Mark Mitchell
mark@codesourcery.com
Mon Dec 4 02:07:00 GMT 2006
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
More information about the Libstdc++
mailing list