Too many false positive for Wzero-as-null-pointer-constant.
--HG-- branch : develop
This commit is contained in:
parent
35245cd161
commit
709a25e0ed
|
@ -346,11 +346,6 @@ GCC_DEBUG_CXXFLAGS += \
|
|||
-Wno-unknown-pragmas \
|
||||
-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
|
||||
g++5:GCC_DEBUG_CXXFLAGS += \
|
||||
-Wswitch-bool \
|
||||
|
|
Loading…
Reference in New Issue
Block a user