[cfe-dev] Fatal error from -include if pwd has Unicode characters
Robert Purves
listrp at gmail.com
Sat Apr 24 20:18:04 PDT 2010
OS X 10.6.3
$ pwd
/Users/rdp/Desktop/Français
$ cat test.c
int main( void )
{
return 0;
}
$ cat test.h
// test.h
$ /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.
Robert P.
More information about the cfe-dev
mailing list