[webkit-dev] Problem in Compiling Webkit on Win32

nandakumar nandakp at huawei.com
Mon Aug 18 22:05:07 PDT 2008


Hi,

I'm working on Compiling Webkit on Win32. I have downloaded the Webkit
source from the http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2.
During Compilation (VC 2005) I'm getting the below mentioned error. Please
check the same and help me out to resolve this.

 

FYI:

1) RegExpConstructor* regExpObj =
exec->lexicalGlobalObject()->regExpConstructor();

The function lexicalGlobalObject() returns a pointer to JSGlobalObject and
the definition is present in KJS namespace. But still I get these errors.

.\..\kjs\StringPrototype.cpp(220) : error C2227: left of
'->regExpConstructor' must point to class/struct/union/generic type

..\..\kjs\StringPrototype.cpp(408) : error C2027: use of undefined type
'KJS::JSGlobalObject'

 

  The same error, I am getting for this statement.

2) NumberObject* obj = new (exec)
NumberObject(exec->lexicalGlobalObject()->numberPrototype());

..\..\kjs\NumberConstructor.cpp(84) : error C2027: use of undefined type
'KJS::JSGlobalObject'

        d:\cygwin\home\webkit\javascriptcore\kjs\JSGlobalData.h (47): see
declaration of 'KJS::JSGlobalObject'

..\..\kjs\NumberConstructor.cpp(84) : error C2227: left of
'->numberPrototype' must point to class/struct/union/generic type

 

Regards

Nanda Kumar P

 

****************************************************************************
****************************
 This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080819/df515276/attachment.html 


More information about the webkit-dev mailing list