Too many false positive for Wzero-as-null-pointer-constant.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-03 16:10:46 +03:00
parent 35245cd161
commit 709a25e0ed

View File

@ -346,11 +346,6 @@ GCC_DEBUG_CXXFLAGS += \
-Wno-unknown-pragmas \ -Wno-unknown-pragmas \
-ftrapv -ftrapv
# Good support Q_NULLPTR came later
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 5) {
GCC_DEBUG_CXXFLAGS += -Wzero-as-null-pointer-constant
}
# Since GCC 5 # Since GCC 5
g++5:GCC_DEBUG_CXXFLAGS += \ g++5:GCC_DEBUG_CXXFLAGS += \
-Wswitch-bool \ -Wswitch-bool \