Enable GCC and Clang warnings for zero being used as a null pointer

This commit is contained in:
Mat Sutcliffe
2020-04-21 18:11:50 +01:00
parent 20c6bef800
commit a7c696d385
5 changed files with 33 additions and 10 deletions

View File

@@ -25,6 +25,10 @@ else {
QMAKE_CXXFLAGS += -idirafter $$EXTERNALSROOT/common/include/qwt
}
llvm {
QMAKE_CXXFLAGS_WARN_ON *= $$clangArg(-isystem$$system_path($$EXTERNALSROOT/common/include/qwt))
}
# needed for "ShellScalingApi.h" only
# win32 { LIBS *= -lSHCore }