Suppress Clang warning.

This commit is contained in:
Roman Telezhynskyi 2020-02-21 10:47:13 +02:00
parent 46131d3cb9
commit 06bc9f8baf
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include "vbank.h"
#include <climits>
#include <QLoggingCategory>
#include "../vmisc/diagnostic.h"
#include "../vmisc/vabstractapplication.h"

View File

@ -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