
On Tue, Sep 28, 2004 at 05:50:35PM +0100, Jonathan Wakely wrote:
Also, why is test_wide() commented out for GCC (without STLPort) ? I thought the point of the \nnn octal escapes I worked out was that GCC won't accept the raw characters, but is happy with the escapes? Did that not work? Why should it work with STLPort, it's the compiler that rejects those chars, not the stdlib, isn't it? And it wasn't all versions of GCC that were affected, was it?
I can confirm that only GCC 3.4.x rejects the raw characters, all previous versions accepted them (though they may not have done the right thing with them). GCC 3.4 rejects the raw characters but is happy with the \nnn octal escapes. AFAICT the stdlib makes no difference, it's the compiler that rejects them (the new parser in 3.4 is written to the letter of the standard, so follows the rules about basic character sets that the old parser ignored). jon -- "More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity." - W.A. Wulf