[v3] define string::pop_back()
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Nov 7 10:34:00 GMT 2011
On 7 November 2011 09:40, Eric Botcazou wrote:
>> Thanks, I'll try to work out the right adjustment for the solaris
>> symbols file but can't test it.
>
> The 2 new symbols are duplicated, because they are matched by a regexp:
>
> ##_ZNSs[0-58-9][g-z]* (glob)
> _ZNSs4nposE;
> _ZNSs4rendEv;
> _ZNSs4swapERSs;
> _ZNSs8pop_backEv;
> _ZNSs9push_backEc;
>
> ##_ZNSbIwSt11char_traitsIwESaIwEE[0-58-9][g-z]* (glob)
> _ZNSbIwSt11char_traitsIwESaIwEE4nposE;
> _ZNSbIwSt11char_traitsIwESaIwEE4rendEv;
> _ZNSbIwSt11char_traitsIwESaIwEE4swapERS2_;
> _ZNSbIwSt11char_traitsIwESaIwEE8pop_backEv;
> _ZNSbIwSt11char_traitsIwESaIwEE9push_backEw;
>
> so removing the 8 in the regexp seems to be sufficient.
Won't that fail to match string::max_size? For GNU I added a regex
for that explicitly:
+ _ZNKSs8max_size*;
+ _ZNKSbIwSt11char_traitsIwESaIwEE8max_size*;
More information about the Libstdc++
mailing list