Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
adf9fb31
Commit
adf9fb31
authored
Mar 09, 2020
by
Jan Möbius
Browse files
Work around bitset VS2017 and ealrlier compiler bug
parent
1a145aa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/UpdateType.cc
View file @
adf9fb31
...
...
@@ -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
"UpdateType.hh"
#include
<QCoreApplication>
...
...
common/UpdateType.hh
View file @
adf9fb31
...
...
@@ -41,6 +41,14 @@
#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
<bitset>
#include
<QString>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment