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: patch: remaining -Wall warnings


Benjamin Kosnik <bkoz@cygnus.com> writes:

> I can either break the standard, and have char_traits::eof() not return 
> int_type but long or unsigned long, 
> 
> or
> 
> change char_traits::int_type to long or unsigned long

I don't see the problem.  In the initial mail there was a comparison
with a negative number.  This never must happen.  So I assume you must
mean something else.  Defining int_type to wint_t for wide chars
should be correct.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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