This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: ctype checks not falling out soon enough (peudopatch)
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: ctype checks not falling out soon enough (peudopatch)
- From: Phil Edwards <pedwards at jaj dot com>
- Date: Wed, 15 Mar 2000 13:58:37 -0500
> Great idea. Saves time anyway. I've put your patch in, but am adding
> tenative HpuxX11 and Irix6.3 support, so chill and let me do a
> larger checkin tonight, okay? (Tenative as in, I'm having
> problems compiling on these systems so cannot test. Configuring will work
> though. Same problems as Aix4.2/4.3...)
No problem, I'll poke my head in again tomorrow.
> > signed / unsigned
>
> thought I fixed this as part of the alpha verification. You may need to
> turn off -Werror because of this...
>
> (weird, I don't remember seeing this on sol2.7)
It's the 4 comparisons of a wchar_t parameter with the _S_table_size
member. I can't think of a fix off the top of my head that wouldn't
break something else.
In file included from /home0/pedwards/EGCS/gcc-2.95.2/libstdc++/src/locale.cc:446:
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc: In method `__wchar_t
ctype<__wchar_t>::do_toupper(__wchar_t) const':
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc:81: warning: comparison between signed
and unsigned
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc: In method `const __wchar_t *
ctype<__wchar_t>::do_toupper(__wchar_t *, const __wchar_t *) const':
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc:87: warning: comparison between signed
and unsigned
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc: In method `__wchar_t
ctype<__wchar_t>::do_tolower(__wchar_t) const':
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc:94: warning: comparison between signed
and unsigned
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc: In method `const __wchar_t *
ctype<__wchar_t>::do_tolower(__wchar_t *, const __wchar_t *) const':
/home0/pedwards/EGCS/gcc-2.95.2/libstdc++/config/solaris/solaris2.7/ctype.cc:100: warning: comparison between signed
and unsigned
gmake[2]: *** [locale.lo] Error 1