Results for g++ 3.1 application testing on i686-pc-linux-gnu
Gabriel Dos Reis
gdr@codesourcery.com
Tue Mar 5 12:31:00 GMT 2002
"Stephen M. Webb" <stephen.webb@bregmasoft.com> writes:
[...]
| bv.o: In function `std::_Bit_iterator_base::_M_bump_up()':
| bv.o(.gnu.linkonce.t._ZNSt18_Bit_iterator_base10_M_bump_upEv+0x8):
| undefined reference to `std::__WORD_BIT'
Sigh. The right fix is to replace the declaration
extern const int __WORD_BIT;
in bits/stl_bvector.h with
const int __WORD_BIT = int(CHAR_BIT*sizeof(unsigned int));
and ditch that line in src/stl-inst.cc.
Patch pre-approved.
Best,
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com
More information about the Libstdc++
mailing list