Suppressing syntaxError doesn't work.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-07-06 15:37:57 +03:00
parent 9a8419920d
commit 33a3c4e214
2 changed files with 2 additions and 7 deletions

View File

@ -92,7 +92,6 @@ private:
Q_DECLARE_METATYPE(VPointF)
Q_DECLARE_TYPEINFO(VPointF, Q_MOVABLE_TYPE);
// cppcheck-suppress syntaxError
QT_WARNING_POP
#endif // VPOINTF_H

View File

@ -29,11 +29,7 @@
#ifndef DIAGNOSTIC_H
#define DIAGNOSTIC_H
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
#include <QtCore/qcompilerdetection.h>
#else
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
/*
* Warning/diagnostic handling
@ -89,6 +85,6 @@
# define QT_WARNING_DISABLE_GCC(text)
#endif
#endif // QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
#endif // QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
#endif // DIAGNOSTIC_H