Details
-
Suggestion
-
Resolution: Incomplete
-
P4: Low
-
None
-
5.2.0
-
None
-
Window 8 Professional x64.
Visual Studio 2012 update 4.
OpenSSL 1.0.1e.
ICU 52.1.
Qt 5.2.0.
Any MSVS C++ project that uses Qt and compiler warning level 4 (/W4).
Description
Usage of Qt and Visual C++ (Visual Studio 2010/2012) with compiler warning level 4 (the highest one after /Wall; /Wall gives too much warnings related to Windows platform headers) gives some (minor) warnings pointing to these public Qt headers:
- qtbase/src/corelib/tools/qhash.h
- qtbase/src/corelib/tools/qlist.h
- qtbase/src/corelib/tools/qmap.h
- qtbase/src/corelib/tools/qvector.h
- qtbase/src/corelib/kernel/qmetatype.h
- qtbase/src/corelib/kernel/qobject_impl.h
- qtbase/src/corelib/tools/qstring.h
The warnings are:
Suggested solution is to switch off such warnings by special includes at the start/end of these headers (like Boost C++ Libraries do) or use MSVC specific pragmas at the warning points (see msvc_warn.patch).