[Webkit-unassigned] [Bug 45390] New: error C2220: warning treated as error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 8 07:09:06 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45390

           Summary: error C2220: warning treated as error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xueliang.hu at hotmail.com


when building webkit revision 66795 in cygwin using webkit/webkit/webkittools/scripts/build-webkit --debug. I get following ouput

Output Window

Performing Pre-Build Event...
/usr/bin/bash
复制了 0 个文件
Compiling...
DumpRenderTree.cpp
C:\cygwin\home\hxl\webkit\WebKitLibraries\win\Include\ConditionalMacros.h : error C2220: warning treated as error - no 'object' file generated
C:\cygwin\home\hxl\webkit\WebKitLibraries\win\Include\ConditionalMacros.h : 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
C:\cygwin\home\hxl\webkit\WebKitLibraries\win\Include\ConditionalMacros.h(796) : 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
C:\cygwin\home\hxl\webkit\WebKitLibraries\win\Include\ConditionalMacros.h(1525) : 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
Project : warning PRJ0018 : The following environment variables were not found:
$(PRODUCTION)

My operation system  is Win7,I have got 32bit Microsoft Visual C++ 2005 Express Edition

I try to modify the project property "Treat Warnings As Errors" with "No" in Microsoft Visual C++ 2005 Express Edition And build it again in cygWin.But it doesn't work.How can i do with this error.
Thanks very much.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list