Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Windows 8 x64, Visual Studio 2013
-
50f064f788c6a570ab01909f06a7fe629aa4a621
Description
I'm trying to compile my own, "lightweight" version of Qt - just Widgets GUI, no Webkit/QML/ICU/etc.
configure -developer-build -opensource -confirm-license -platform win32-msvc2012 -no-warnings-are-errors -no-opengl -no-icu -nomake examples -nomake tests -skip qtwebkit -skip qtwebkit-examples -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtdeclarative -skip qtquick1 -skip qtquickcontrols -skip qtscript
After than i just run nmake, as configure suggests.
.\qwindowswindow.cpp(2271) : error C2220: warning treated as error - no 'object' file generated
.\qwindowswindow.cpp(2271) : warning C4100: 'err' : unreferenced formal parameter
.\qwindowsnativeinterface.cpp(136) : error C2220: warning treated as error - no 'object' file generated
.\qwindowsnativeinterface.cpp(136) : warning C4100: 'resource' : unreferenced formal parameter
When i add two Q_UNUSED() for function parameters, compilation finished fine.
P.S. Of course i can just use -no-warnings-are-errors option. But i want to make world better