Suppressing syntaxError doesn't work.
--HG-- branch : develop
This commit is contained in:
parent
9a8419920d
commit
33a3c4e214
|
@ -92,7 +92,6 @@ private:
|
||||||
Q_DECLARE_METATYPE(VPointF)
|
Q_DECLARE_METATYPE(VPointF)
|
||||||
Q_DECLARE_TYPEINFO(VPointF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(VPointF, Q_MOVABLE_TYPE);
|
||||||
|
|
||||||
// cppcheck-suppress syntaxError
|
|
||||||
QT_WARNING_POP
|
QT_WARNING_POP
|
||||||
|
|
||||||
#endif // VPOINTF_H
|
#endif // VPOINTF_H
|
||||||
|
|
|
@ -29,11 +29,7 @@
|
||||||
#ifndef DIAGNOSTIC_H
|
#ifndef DIAGNOSTIC_H
|
||||||
#define DIAGNOSTIC_H
|
#define DIAGNOSTIC_H
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||||
|
|
||||||
#include <QtCore/qcompilerdetection.h>
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Warning/diagnostic handling
|
* Warning/diagnostic handling
|
||||||
|
@ -89,6 +85,6 @@
|
||||||
# define QT_WARNING_DISABLE_GCC(text)
|
# define QT_WARNING_DISABLE_GCC(text)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#endif // QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||||
|
|
||||||
#endif // DIAGNOSTIC_H
|
#endif // DIAGNOSTIC_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user