Fix error "QT_WARNING_PUSH does not name a type".
--HG-- branch : develop
This commit is contained in:
parent
f701cc95f9
commit
21e9719954
|
@ -17,6 +17,7 @@
|
|||
#include "dxfreader.h"
|
||||
#include "drw_textcodec.h"
|
||||
#include "drw_dbg.h"
|
||||
#include "../vmisc/diagnostic.h"
|
||||
|
||||
bool dxfReader::readRec(int *codeData) {
|
||||
// std::string text;
|
||||
|
|
|
@ -29,9 +29,11 @@
|
|||
#ifndef DIAGNOSTIC_H
|
||||
#define DIAGNOSTIC_H
|
||||
|
||||
#include <QtGlobal>
|
||||
#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
|
||||
|
@ -87,6 +89,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
|
||||
|
|
Loading…
Reference in New Issue
Block a user