> 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