10>C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(139): error C2144: syntax error : 'void' should be preceded by ';' 10>C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 10>C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(140): error C2144: syntax error : 'void' should be preceded by ';' 10>C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 10>C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(140): error C2086: 'int WTF_EXPORT_PRIVATE' : redefinition 10> C:\Cygwin\home\Moon\WebKit-r128959\WebKitBuild\Release\include\private\wtf/Assertions.h(139) : see declaration of 'WTF_EXPORT_PRIVATE'
I got this build error. Does anyone know how to fix this problem? With the help of Source Insight, I located the defination of WTF_EXPORT_PRIVATE in wtf/wtf/ExportMacros.h and the defination is as follow. #if defined(WTF_IS_LINKED_IN_SAME_BINARY) #define WTF_EXPORT_PRIVATE WTF_EXPORT #else #define WTF_EXPORT_PRIVATE WTF_IMPORT #endif Does it mean that the error occurred because compiler didn't compile the ExportMacros.h prior to Assertion.h?
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-help
