[Bug target/42377] libstdc++.dll.a misses a definition of std::string::reserve
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 17 10:26:00 GMT 2009
------- Comment #6 from paolo dot carlini at oracle dot com 2009-12-17 10:25 -------
Under linux, it's just unsigned long, which is 64-bit anyway, because actually
it's a size_t. Seems strange that we didn't notice yet, but it's well possible
that on some 64-bit systems a size_t is an unsigned long long instead of an
unsigned long. If it's only that, I don't see anything wrong with just adding
the y class to this pattern, I don't see how it could create problems on other
systems (if they weren't exporting the symbol by mistake at the ABI baseline
.so version they were totally broken anyway, because basic_string cannot work
without). In that case, therefore, the corresponding libstdc++ patch is
pre-approved.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42377
More information about the Gcc-bugs
mailing list