This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix filebuf_virtuals.cc for unsigned char platforms
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 07 Feb 2003 01:05:23 +0100
- Subject: Re: [Patch] Fix filebuf_virtuals.cc for unsigned char platforms
- References: <3E42E387.1080008@unitus.it> <1044575613.21136.54.camel@elsschot>
Mark Wielaard wrote:
On powerpc-unknown-linux-gnu without the patch compiling this test
gives:
/home/mark/src/gcc33/gcc/libstdc++-v3/testsuite/27_io/filebuf_virtuals.cc: In static member function `static bool MyTraits::eq(char, char)':
/home/mark/src/gcc33/gcc/libstdc++-v3/testsuite/27_io/filebuf_virtuals.cc:545: warning: comparison is always true due to limited range of data type
/home/mark/src/gcc33/gcc/libstdc++-v3/testsuite/27_io/filebuf_virtuals.cc:546: warning: comparison is always true due to limited range of data type
With the patch applied it compiles cleanly.
This was on the 3.3 branch and compiled by hand.
My suspects are _fully_ confirmed then...
The machine is busy doing a 3.4 bootstrap, I have applied the patch to
the test and the results should show up on gcc-testresults in a couple
of hours.
Thank you very much!
Paolo.