libstdc++-v3: Recent locale/ctype changes break NetBSD
Paolo Carlini
pcarlini@unitus.it
Tue Jan 22 04:15:00 GMT 2002
Hi Jason,
I just had a look to your problem and for sure something trivial is wrong with
the current config/os/bsd/netbsd/bits/ctype_noninline.h. See the lines:
/alpha-unknown-netbsd/bits/ctype_noninline.h:50: multiple
initializations given for member `std::ctype<char>::_M_toupper'
/u2/hack/gnu-toolchain/gcc/build/alpha/alpha-unknown-netbsd/libstdc++-v3/include
/alpha-unknown-netbsd/bits/ctype_noninline.h:50: multiple
initializations given for member `std::ctype<char>::_M_tolower'
Could you please try the following patch?
Cheers,
Paolo.
///////////
--- ctype_noninline.h.orig Tue Jan 22 13:03:02 2002
+++ ctype_noninline.h Tue Jan 22 13:03:20 2002
@@ -45,7 +45,6 @@
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
- _M_toupper(NULL), _M_tolower(NULL),
_M_toupper(NULL), _M_tolower(NULL), _M_table(__table ? __table : _ctype_ + 1)
{ }
More information about the Libstdc++
mailing list