From: Jonathan Wakely (cow_at_[hidden])
Date: 2004-09-28 12:02:49
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).
-- "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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk