mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Enable GCC and Clang warnings for zero being used as a null pointer
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user