[Bug libstdc++/15154] [3.3 Regression] Lib doesn't provide implementations for some bitset extensions
gdr at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 1 23:40:00 GMT 2004
------- Additional Comments From gdr at gcc dot gnu dot org 2004-05-01 23:40 -------
(In reply to comment #2)
> Test case (complete this time?):
> #include <bitset>
> int main() {
> bitset<10> b;
> b._Find_first();
> return 0;
> }
>
> will fail to link.
Minor nit: bitset in the testcase should be qualified.
More info: This failure occurs only when the number of "machine word"
needed to represent the bitset is at most 1. That is if you change
bitset<10> to bitset<100>, then everything should work.
Interestingly, the definition of the incriminated members of
std::_Base_bitset<1> are supplied in libstdc++-v3/src/bitset.cc.
I don't understand why the linker is not finding it.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15154
More information about the Gcc-bugs
mailing list