Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.2
-
None
-
Windows 7, Mingw (GCC 4.6)
Description
In order to turn warnings on in mingw, one should specify -W -Wall, but QMAKE_CXXFLAGS_WARN_ON specifies only -Wall. As a result "CONFIG += warn_on" doesn't display some warnings like unused variables in functions.
Please add -W (or -Wextra) to QMAKE_CXXFLAGS_WARN_ON on win32-g++ platform.