This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] Unexpected compiler twist of the wcscoll issue
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- To: <pcarlini at unitus dot it>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 12 Mar 2002 16:59:35 +0100 (CET)
- Subject: Re: [RFC] Unexpected compiler twist of the wcscoll issue
Surprinsingly, I can verify your result.
The binary compiled by gcc 2.95.3 prints:
result of the wide string comparison: -1
result of the string comparison: -1, when run
in contrast to
result of the wide string comparison: 20
result of the string comparison: -1
when gcc 3.1 20020306 is employed as compiler.
My system setup is i686-pc-linux-gnu, glibc2.2.4 + patches, dated mid
of december. The Glibc was compiled by 2.95.3. Do I have to recompile the
library by gcc 3.1 for a working wcscoll facility?
Hope this helps,
Peter Schmid