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 ?

Benjamin Kosnik <bkoz@cygnus.com> writes:
> > Building libstdc++ on Cygwin (gcc-2.95.1)I got following errors
> 
> >   bool
> >   ctype<wchar_t>::do_is(mask __m, char_type __c) const
> >   {
> >     return (__c < _S_table_size) && (_S_table[__c] & __m); 
> >   }
> 
> try disabling support for wchar_t in bits/c++config.h.in, by commenting 
> out 
> 
> // #define _GLIBCPP_USE_WCHAR_T 1
> 
> 
> The alternative is tracking down the wchar_t stuff under cygwin. . . 
> 
> -Benjamin
> 

-- 
Regards,
Vadim Egorov 


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