vs2010+cygwin build failure jdk9/dev, char cannot be represented in current code page
Weijun Wang
weijun.wang at oracle.com
Fri May 15 12:58:42 UTC 2015
On 5/15/2015 8:46 PM, Erik Joelsson wrote:
> Hello Max,
>
> I just synced up my jdk9/dev on Windows and built successfully using
> VS2010. I doubt changing compilers will have any effect.
I guess it's related to my Windows being Chinese. I've since changed to
English (US) and haven't seen the problem.
--Max
>
> /Erik
>
> On 2015-05-13 17:43, Weijun Wang wrote:
>> I have just synced my local jdk9/dev repos and today I see this build
>> error:
>>
>> c:/cygwin/space/repos/jdk9/dev/jdk/src/java.desktop/share/native/liblcms/cmscgats.c
>> : error C2220: warning treated as error - no 'object' file generated
>> c:/cygwin/space/repos/jdk9/dev/jdk/src/java.desktop/share/native/liblcms/cmscgats.c
>> : warning C4819: The file contains a character that cannot be
>> represented in the current code page (936). Save the file in Unicode
>> format to prevent data loss
>>
>> Same in
>> src/closed/java.desktop/share/native/libt2k/t2k/ttHints/FntDebug.c.
>>
>> Looks like there are several <0x93> <0x94> or (c) chars there. Must I
>> upgrade to VS2013? Or is there something else go wrong?
>>
>> Thanks
>> Max
>>
>>
>
More information about the build-dev
mailing list