Enable alternative operator representations for support old or nonconforming

compilers by default.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-11 22:27:55 +02:00
parent 373d9e2da2
commit 5f5b7e41fa
14 changed files with 12 additions and 48 deletions

View File

@ -28,10 +28,7 @@
#include "dialogdatetimeformats.h"
#include "ui_dialogdatetimeformats.h"
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//---------------------------------------------------------------------------------------------------------------------
DialogDateTimeFormats::DialogDateTimeFormats(const QDate &date, const QStringList &predefinedFormats,

View File

@ -28,10 +28,7 @@
#include "dialogknownmaterials.h"
#include "ui_dialogknownmaterials.h"
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//---------------------------------------------------------------------------------------------------------------------
DialogKnownMaterials::DialogKnownMaterials(QWidget *parent)

View File

@ -85,9 +85,7 @@
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Wattributes")
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
class QLocale;
class QChar;

View File

@ -25,10 +25,7 @@
#include <QMap>
#include <QString>
#include <locale>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
#include "qmuparserfixes.h"

View File

@ -30,10 +30,7 @@
#define DXFDEF_H
#include <QtGlobal>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
enum class VarMeasurement : unsigned char { English=0, Metric=1 };

View File

@ -19,10 +19,7 @@
#include <list>
#include <cmath>
#include <QtGlobal>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
#ifdef DRW_ASSERTS
# define drw_assert(a) assert(a)

View File

@ -18,10 +18,7 @@
#include "drw_objects.h"
#include "drw_header.h"
#include "drw_interface.h"
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
class dxfReader;
class dxfWriter;

View File

@ -29,9 +29,7 @@
#ifndef VLAYOUTDEF_H
#define VLAYOUTDEF_H
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
enum class LayoutErrors : char
{

View File

@ -46,9 +46,7 @@
template <class T> class QSharedPointer;
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
class QComboBox;
class QMarginsF;

View File

@ -52,9 +52,7 @@ class QPointF;
class QPolygonF;
class QRectF;
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//---------------------------------------------------------------------------------------------------------------------
static inline QPaintEngine::PaintEngineFeatures svgEngineFeatures()

View File

@ -35,9 +35,7 @@
template <class T> class QVector;
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
#ifdef __GNUC__
#define V_UNUSED __attribute__ ((unused))

View File

@ -32,10 +32,7 @@
#include <QFile>
#include <QSharedPointer>
#include <QDomDocument>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
class TST_AbstractTranslation : public QObject
{

View File

@ -31,10 +31,8 @@
#include "../vmisc/logging.h"
#include <QtTest>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//---------------------------------------------------------------------------------------------------------------------
TST_VCommandLine::TST_VCommandLine(QObject *parent)
:QObject(parent)

View File

@ -30,10 +30,7 @@
#include "../vmisc/vlockguard.h"
#include <QtTest>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//---------------------------------------------------------------------------------------------------------------------
TST_VLockGuard::TST_VLockGuard(QObject *parent)