Getting std::bitset::count() function to work in BCB 6

2004-10-11 04:47:02 AM
I am using BCB 6 with STL and I have tried to use the bitset::count()
function from <bitset>. When I try to link my program the linker gives the
following error message:
[Linker Error] Unresolved external '_STL::_Bs_G<bool>::_S_bit_count'
referenced from ...
I can use other bitset functions like test() and set() OK. When I comment
out the count() function line, the program builds OK.
Does anyone know how to make count() work in BCB 6?
- Robert