Remove suppression of warnings

This commit is contained in:
Sergey Yershov 2016-12-01 16:02:59 +03:00
parent f742008d52
commit 09ace3475d

View file

@ -127,7 +127,7 @@ win32-msvc201* {
# unix also works for Android
unix|win32-g++ {
LIBS *= -lz
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter
QMAKE_CXXFLAGS_WARN_ON += -Wno-strict-aliasing -Wsign-compare -Wshorten-64-to-32
# -Wno-unused-local-typedef is not supported on clang 3.5.
IS_CLANG35 = $$system( echo | $$QMAKE_CXX -dM -E - | grep '__clang_version__.*3\.5.*' )
@ -136,7 +136,7 @@ unix|win32-g++ {
}
# TODO: Check if we really need these warnings on every platform (by syershov).
*-clang* {
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-conversion -Werror=return-type
QMAKE_CXXFLAGS_WARN_ON += -Werror=return-type
}
tizen{