If I had to guess what the problem was, I would say that you need to add the NOMINMAX preprocessor definition to the project that is not compiling. The windows headers define min and max as preprocessor macros unless NOMINMAX is defined before they are included. Having min and max defined as macros will cause the code in JSCore/wtf/Vector.h to not compile. Chris
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Rowe Sent: Wednesday, August 15, 2007 8:15 PM To: [EMAIL PROTECTED] Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] add webkit head file build errors On 16/08/2007, at 2:29 PM, [EMAIL PROTECTED] 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
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev