[cfe-dev] Fatal error from -include if pwd has Unicode characters

Chris Lattner clattner at apple.com
Sat Apr 24 20:46:53 PDT 2010


On Apr 24, 2010, at 8:18 PM, Robert Purves wrote:

> $ /Developer/usr/bin/clang -c test.c
> $ /Developer/usr/bin/clang -c test.c -include test.h
> In file included from <built-in>:110:
> <command line>:1:10: fatal error: '/Users/rdp/Desktop/Fran├žais' file not found
> #include "/Users/rdp/Desktop/Fran├žais"
>         ^
> 1 diagnostic generated.
> 
> $ /Developer/usr/bin/clang --version
> clang version 1.0.2 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-32 exported)
> Target: x86_64-apple-darwin10
> 
> 
> Reassuringly, r102295 does not show the problem, but I am not sure if that is a guarantee for future Apple branches. 

clang "1.0.2" is pretty ancient by now :).  Thanks for confirming that it is fixed on mainline though,

-Chris



More information about the cfe-dev mailing list