[RFC] Unexpected compiler twist of the wcscoll issue
Peter Schmid
schmid@snake.iap.physik.tu-darmstadt.de
Tue Mar 12 06:59:00 GMT 2002
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
More information about the Libstdc++
mailing list