This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem building library



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]