problem building library

Benjamin Kosnik bkoz@cygnus.com
Mon Oct 18 15:05:00 GMT 1999


> 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


More information about the Libstdc++ mailing list