[patch] Make vector::at() assertion message more useful (try #2)

Paolo Carlini paolo.carlini@oracle.com
Mon Sep 23 14:54:00 GMT 2013


Hi,

On 9/23/13 9:48 AM, Paul Pluzhnikov wrote:
> On 9/23/13 4:26 AM, Paolo Carlini wrote:
>
>>> m68k-linux/./libstdc++-v3/src/.libs/libstdc++.so: undefined reference
>>> to `int std::__int_to_char<char, unsigned int>(char*, unsigned int,
>>> char const*, std::_Ios_Fmtflags, bool)'
>
> Reproduced on i686.
> Sorry about the trouble ...
>
>> I would say, either make sure to use only those two in the new
>> code
>
> Testing this patch:
In fact, however, that unsigned long long instantiation isn't 
*unconditionally* available, see locale-inst.cc. I think we have to use 
unsigned long as a fall back controlled by the same macro. And please 
add a comment explaining those contortions having to do with the 
available instantiations. Patch pre-approved.

Thanks again,
Paolo.



More information about the Libstdc++ mailing list