[webkit-dev] Compile error under VC2005

Adam Roben aroben at apple.com
Fri Aug 3 10:35:34 PDT 2007


On Aug 3, 2007, at 10:33 AM, oooyooo wrote:

> Adam Roben 提到:
>>
>> On Aug 3, 2007, at 1:14 AM, OYO wrote:
>>
>>> ------ Build started: Project: JavaScriptCore, Configuration:  
>>> Release Win32
>>> ----
>>> -- 
>>> Constructing generated files...
>>> Copying ICU DLLS...
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>> 複製 0 個檔案
>>>
>>> Compiling...
>>> pcre_compile.c
>>> ..\..\pcre\pcre_compile.c : error C2220: warning treated as error  
>>> - no
>>> 'object' file generated
>>> ..\..\pcre\pcre_compile.c : warning C4819: The file contains a  
>>> character
>>> that cannot be represented in the current code page (950). Save  
>>> the file in
>>> Unicode format to prevent data loss
>>
>>   I've never seen this error before. However, I think most everyone  
>> who has built WebKit on Windows so far has done so on an English  
>> system. It's too bad MSVC doesn't tell us which character it's  
>> complaining about! Have you tried doing what it suggests and saving  
>> the file in "Unicode format"?
>>
>> -Adam
>>
>>
> Those are chinese word, which means that "Copy 0 file"...

    Those are expected. However, I was talking about the warning while  
compiling pcre\pcre_compile.c:

> ..\..\pcre\pcre_compile.c : warning C4819: The file contains a  
> character
> that cannot be represented in the current code page (950). Save the  
> file in
> Unicode format to prevent data loss

-Adam




More information about the webkit-dev mailing list