Commit adf9fb31 authored by Jan Möbius's avatar Jan Möbius
Browse files

Work around bitset VS2017 and ealrlier compiler bug

parent 1a145aa1
...@@ -39,13 +39,6 @@ ...@@ -39,13 +39,6 @@
* * * *
\*===========================================================================*/ \*===========================================================================*/
// Workaround compiler bug in VS2017 and earlier with colliding Qt operators and bitset
#ifdef _MSC_VER
#if (_MSC_VER <= 1916)
#define QT_NO_FLOAT16_OPERATORS
#endif
#endif
#include "TypesInternal.hh" #include "TypesInternal.hh"
#include "UpdateType.hh" #include "UpdateType.hh"
#include <QCoreApplication> #include <QCoreApplication>
......
...@@ -41,6 +41,14 @@ ...@@ -41,6 +41,14 @@
#pragma once #pragma once
// Workaround compiler bug in VS2017 and earlier with colliding Qt operators and bitset
#ifdef _MSC_VER
#if (_MSC_VER <= 1916)
#define QT_NO_FLOAT16_OPERATORS
#endif
#endif
#include <OpenFlipper/common/GlobalDefines.hh> #include <OpenFlipper/common/GlobalDefines.hh>
#include <bitset> #include <bitset>
#include <QString> #include <QString>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment