This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: New AIX failures


> 	It appears that AIX prefers the use of toupper and tolower.  I
> 	am
> not exactly sure how to initialize _M_toupper and _M_tolower for AIX.

Then best to skip it and use the generics, as you did below...

> 	Would the following patch bringing AIX ctype_noninline.h inline
> with the "generic" definition be correct?

Yes, but just do the toupper/tolower changes.

>     ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
>     
>     : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 &&
>     __del), _M_toupper(NULL), _M_tolower(NULL), 
> !   _M_table(__table ? __table : classic_table()) 
>     { }

..don't change this stuff. the generic config is crusty, I'll update it.

The rest is fine, thanks


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