Details
-
Bug
-
Resolution: Incomplete
-
P4: Low
-
None
-
4.8.0
-
None
-
Windows 7, Mingw 0.4-alpha-1
Description
I'm trying to compile Qt 4.8.0 on Windows 7 with MinGW 0.4-alpha-1 with the following keys:
configure -release -opensource -static -no-exceptions -nomake demos -nomake examples -no-qt3support -no-style-plastique -no-style-cleanlooks -no-style-cde -no-style-motif -qt-style-windowsxp -qt-style-windowsvista -qt-libjpeg -qt-zlib -qt-libpng -qt-libtiff -no-stl -no-accessibility -webkit -confirm-license
It fails to compile a webkit component with error complaining on undefined identifier "time_t" in WebCore/platform/network/ResourceResponceBase.h, line 92. The same is with page/Page.h, loader/icon/IconRecord.h.
I've fixed that with patching ResourceResponceBase.h:
Change
#if OS(SOLARIS)
#include <sys/time.h> // For time_t structure.
#endif
To
#if OS(SOLARIS)
#include <sys/time.h> // For time_t structure.
#else
#include <ctime>
#endif
–
JS code also gives a non-fatal warning on nullptr:
..\JavaScriptCore/wtf/NullPtr.h:48:1: warning: identifier 'nullptr' will become a keyword in C++0x [-Wc++0x-compat]