[webkit-help] Build of branch Safari-3-2 fails

tali garsiel tgarsiel at gmail.com
Wed Jul 15 11:27:01 PDT 2009


Hi,

I'm trying to understand how the old javascript interpreter works.

I try to build the old webkit to debug it , but I get weird errors.

I checked out the Safari-3-2-branch and built it according to the
instructions in your site.

There seem to be an incompatibility between the WebKitLibraries and the
code.

For instance: FontCGWin.cpp calls wkSetFontSmoothingStyle with 2
parameter(line 95) while the API seems to have only 1
(WebKitSystemInterface).

I also get the following errors in the Webkit component build:

Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code
Analysis warnings are not available in this edition of the compiler
tmp.cpp
File not found - *
0 File(s) copied
Compiling...
MarshallingHelpers.cpp
WebCoreLocalizedStrings.cpp
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(40) :
error C2061: syntax error : identifier 'LPCSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(41) :
error C2146: syntax error : missing ';' before identifier
'WebLocalizedLPCTSTRUTF8'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(41) :
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(41) :
error C2061: syntax error : identifier 'LPCSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(41) :
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(46) :
error C2061: syntax error : identifier 'LPCTSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(47) :
error C2146: syntax error : missing ';' before identifier
'WebLocalizedLPCTSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(47) :
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(47) :
error C2086: 'int LPCTSTR' : redefinition
        c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(41)
: see declaration of 'LPCTSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(47) :
error C2061: syntax error : identifier 'LPCTSTR'
c:\cygwin\home\ibm\webkit\webkit\win\WebLocalizableStrings.h(47) :
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
..\WebCoreLocalizedStrings.cpp(33) : error C2660:
'WebLocalizedLPCTSTRUTF8' : function does not take 2 arguments
..\WebCoreLocalizedStrings.cpp(34) : error C2660:
'WebLocalizedLPCTSTRUTF8' : function does not take 2 arguments



Can anyone help ?


Tali


.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20090715/64f33040/attachment.html>


More information about the webkit-help mailing list