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

Nikola Smiljanic popizdeh at gmail.com
Tue Sep 17 21:09:40 PDT 2013


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> 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> 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
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>
>
> _______________________________________________
> cfe-dev mailing list
> 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/2a5140e7/attachment.html>


More information about the cfe-dev mailing list