[cfe-dev] clang-cc -ast-print-xml errors

Mike Stump mrs at apple.com
Tue Sep 15 17:44:22 PDT 2009


On Sep 15, 2009, at 5:33 PM, Craig Mortensen wrote:
> On Sep 15, 2009, at 4:58 PM, Eli Friedman wrote:
>
>> That indicates that clang is using the headers from an older version
> Yep. That was my problem.  I didn't update the headers in /Developer/
> user/lib/clang/1.0/include/
>
> Now that it completes successfully, the xml output file can't be read
> because the encoding is unknown.  I don't see where to specify the
> encoding.

Is the file written an xml file?  I think -emit-pch might be hosing you.



More information about the cfe-dev mailing list