[cfe-dev] Clang can not compile file with chinese name.

Gao, Yunzhong yunzhong_gao at playstation.sony.com
Wed Sep 18 10:12:30 PDT 2013


I have a patch for shift-jis Japanese file names on Windows that I will post to the mailing list shortly. That should fix the Chinese file name issue as well.
I have not looked at Nikola's patch. Will do.
- Gao

Sent from my iPhone

On Sep 17, 2013, at 9:13 PM, "Nikola Smiljanic" <popizdeh at gmail.com<mailto:popizdeh at gmail.com>> wrote:

Yep it's a windows issue, my patch was never applied. More info here http://llvm.org/bugs/show_bug.cgi?id=10348


On Wed, Sep 18, 2013 at 2:00 PM, Sean Silva <silvas at purdue.edu<mailto:silvas at purdue.edu>> wrote:
FWIW, I think this is an issue specific to Clang on Windows. This works for me on Linux:

sean:~/tmp % cat 汉语.cpp
#include <stdio.h>

int main() {
  printf("Inside 汉语.cpp\n");
  return 0;
}
sean:~/tmp % clang++ 汉语.cpp
sean:~/tmp % ./a.out
Inside 汉语.cpp

(I have no idea what "汉语" means, btw; I just grabbed the first Chinese text I could find)

-- Sean Silva


On Tue, Sep 17, 2013 at 9:30 PM, fiveight <fiveight at tom.com<mailto:fiveight at tom.com>> wrote:
Hi All:

I am using Clang 3.3 on Windows7. I compiled tow Clang 3.3, one by vs2008 and another by vs2010.

But both of them can not compile file with chinese name.

How can I resolve this problem?

Thanks!

_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130918/b6317a0d/attachment.html>


More information about the cfe-dev mailing list