2 Jul 2007 14:14
Re: [libstdc++-v3 patch] Fix invalid use of signed wchar_t and unsigned wchar_t in <type_traits>
Paolo Carlini <pcarlini <at> suse.de>
2007-07-02 12:14:58 GMT
2007-07-02 12:14:58 GMT
Hi again Doug,
sorry: before committing your patch, did you fully regtest it? I'm
asking because people are reporting regressions:
http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00047.html
Probably, there are some trivial fallbacks, like adjusting dg-error line
numbers in negative tests and / or removing / adjusting tests
incorrectly involving signed / unsigned wchar_t...
Can you look into fixing that?
Paolo.
- you are right of cource!
Your answer mostly makes sence to me, but if wcout uses the C library
functions then locale:global(...) should affect it even when wcout is
used before setting the global locale. That does not happen! Here is
the code:
wcout << 1 << endl;
locale::global(locale("en_US.UTF-8"));
wcout << L"\xF8" << endl;
It wants to output a LATIN SMALL LETTER O WITH STROKE, but instead it
RSS Feed