This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: patch: remaining -Wall warnings
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: patch: remaining -Wall warnings
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 13 Aug 1999 15:17:58 -0700
- Cc: Michael Cook <cook@sightpath.com>, libstdc++@sourceware.cygnus.com
- References: <Pine.SOL.3.91.990813150117.8767A-100000@fencer.cygnus.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------