This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: problem building library
- To: Vadim Egorov <egorovv at HotPOP dot com>
- Subject: Re: problem building library
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Mon, 18 Oct 1999 15:04:58 -0700 (PDT)
- cc: libstdc++ at sourceware dot cygnus dot com
> There are definitely some problems with wchar_t undef cygwin but
> shouldn't locale_fasets.h:38
> static const size_t table_size = 1u + ~(unsigned char)0;
> be
> static const size_t table_size = 1u + (unsigned char)~0;
> for table_size to be non-zero ?
Yup. Try
static const size_t table_size = 1 + static_cast<unsigned char>(-1);
-Benjamin