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 "dialogdatetimeformats.h"
#include "ui_dialogdatetimeformats.h" #include "ui_dialogdatetimeformats.h"
#include <ciso646>
#ifdef Q_CC_MSVC
#include <ciso646>
#endif /* Q_CC_MSVC */
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
DialogDateTimeFormats::DialogDateTimeFormats(const QDate &date, const QStringList &predefinedFormats, DialogDateTimeFormats::DialogDateTimeFormats(const QDate &date, const QStringList &predefinedFormats,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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