[webkit-dev] add webkit head file build errors

Mark Rowe bdash at webkit.org
Wed Aug 15 20:14:53 PDT 2007


On 16/08/2007, at 2:29 PM, pj_wh120 at sina.com wrote:

> Hi,Mark
>  Thanks for your reply, that error missing,but the other occured:
>
> c:\cygwin\home\en\webkit\webkitbuild\include\javascriptcore 
> \vector.h(275) : error C2589: ¡°(¡±: ¡°::¡±ÓұߵķǷ¨±ê¼Ç        c: 
> \cygwin\home\en\webkit\webkitbuild\include\javascriptcore 
> \vector.h(272): ±àÒëÀà Ä£°å ³ÉÔ±º¯Êý¡°void  
> WTF::VectorBuffer::allocateBuffer(size_t)¡±Ê±
>        with
>        [
>            T=char,
>            inlineCapacity=0
>        ]        c:\cygwin\home\en\webkit\webkitbuild\include 
> \javascriptcore\vector.h(487): ²Î¼û¶ÔÕýÔÚ±àÒëµÄÀà Ä£°å ʵÀý 
> »¯¡°WTF::VectorBuffer¡±µÄÒýÓÃ
>        with
>        [
>            T=char,
>            inlineCapacity=0
>        ]        c:\cygwin\home\en\webkit\webkitbuild\include\webcore 
> \formdata.h(36): ²Î¼û¶ÔÕýÔÚ±àÒëµÄÀà Ä£°å ʵÀý»¯¡°WTF::Vector¡±µÄÒýÓÃ
>        with
>        [
>            T=char
>        ]

 From the Microsoft documentation:
> Compiler Error C2589
> Error Message:  'identifier' : illegal token on right side of '::'


> c:\cygwin\home\en\webkit\webkitbuild\include\javascriptcore 
> \vector.h(275) : error C2059: Óï·¨´íÎó : ¡°::¡±
> occured the source code position:
> javascriptcore\vector.h(275)
> if (newCapacity > std::numeric_limits::max() / sizeof(T))
>                abort();

 From the Microsoft documentation:
> Compiler Error C2059
> Error Message: syntax error : 'token'


This code compiles correctly for everyone else on Windows, so it's not  
at all clear why you would be experiencing these issues.  Your emails  
make it sound like you're attempting to build a WebKit-using  
application.  If that's the case, it's reasonable to assume that  
you're doing something wrong in either your code where you include  
these headers or in your project configuration to trigger the errors.

> I comment this code,build ok. and others, where can I get  
> 'icuuc36.dll',because I run my program hint me no 'icuuc36.dll',  I  
> just find a 'icuuc.lib' under 'WebKitLibraries\win\lib' directory.

The ICU DLL is installed alongside Safari.

- Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070816/7e07607e/attachment.html


More information about the webkit-dev mailing list