Fatal error from -include if pwd has Unicode characters

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.

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

-Chris

Chris Lattner wrote:

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,

Pretty ancient? clang 1.0.2 is a component of Xcode 3.2.2, and Software Update advised me of this release less than 48 hours ago.
Of course you're right; the executable is three months old. That's a lot of commits.
On the other hand, three months is a spectacularly better turnaround time than for Apple gcc releases. Surely an occasion for congratulations, bonuses and cigars all round?

Robert P.