This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch] Make vector::at() assertion message more useful (try #2)


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.


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