Suppress Clang warning.
This commit is contained in:
parent
46131d3cb9
commit
06bc9f8baf
|
@ -29,6 +29,7 @@
|
|||
#include "vbank.h"
|
||||
|
||||
#include <climits>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
#include "../vmisc/diagnostic.h"
|
||||
#include "../vmisc/vabstractapplication.h"
|
||||
|
|
|
@ -45,7 +45,8 @@ unix {
|
|||
# Key -isystem disable checking errors in system headers.
|
||||
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
||||
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
||||
$$CLANG_DEBUG_CXXFLAGS # See common.pri for more details.
|
||||
$$CLANG_DEBUG_CXXFLAGS \# See common.pri for more details.
|
||||
-Wno-gnu-zero-variadic-macro-arguments\ # See macros qCCritical
|
||||
|
||||
checkWarnings{ # For enable run qmake with CONFIG+=checkWarnings
|
||||
QMAKE_CXXFLAGS += -Werror
|
||||
|
|
Loading…
Reference in New Issue
Block a user