[webkit-dev] Compile error under VC2005

oooyooo oooyooo.2046 at gmail.com
Fri Aug 3 12:18:11 PDT 2007


Mark Rowe 提到:
>
> On 04/08/2007, at 1:58 AM, Adam Roben wrote:
>
>>
>> On Aug 3, 2007, at 1:14 AM, OYO wrote:
>>
>>> 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"?
>
> I tracked down and removed the character it was complaining about in 
> <http://trac.webkit.org/projects/webkit/changeset/24849>. Please 
> update to r24849 or newer and try building again.
>
> - Mark
>
Mark,

Thank you.

Now i could sort out the Unicode problem in pcre_compile.c. Still fail 
to compile~

I discover that most of header files have this warning,
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

My environment is Traditional Chinese WinXP. I wanna know do you have 
same warning in you side?

OYO



More information about the webkit-dev mailing list