[cfe-dev] Wide strings and clang::StringLiteral.

Neil Booth neil at daikokuya.co.uk
Fri Dec 5 15:36:36 PST 2008


Eli Friedman wrote:-

> I don't see why any of this affects caret diagnostics, though: column
> counts should be the same no matter what encoding is used.

If you iconv a whole file, ala GCC, you've got no map from original
bytes to the bytes you're lexing.  Caret diagnostics refer to
original source bytes; your lexer is reading the iconv-ed file.

Neil.



More information about the cfe-dev mailing list