Try to fix tests.
--HG-- branch : develop
This commit is contained in:
parent
f0bceec6ea
commit
bd72aa29cc
|
@ -52,6 +52,10 @@
|
|||
# define QMUP_NOEXCEPT_EXPR(x)
|
||||
# endif
|
||||
|
||||
#ifndef __has_cpp_attribute
|
||||
# define __has_cpp_attribute(x) 0
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
|
||||
# define QMUP_FALLTHROUGH [[fallthrough]];
|
||||
#elif defined(Q_CC_CLANG) && __cplusplus >= 201103L
|
||||
|
|
|
@ -530,6 +530,10 @@ const double dxfColors[][3] =
|
|||
#define DL_DCS_TRANS_CODE 2
|
||||
#define DL_PCS_TRANS_CODE 3
|
||||
|
||||
#ifndef __has_cpp_attribute
|
||||
# define __has_cpp_attribute(x) 0
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
|
||||
# define DL_FALLTHROUGH [[fallthrough]];
|
||||
#elif defined(Q_CC_CLANG) && __cplusplus >= 201103L
|
||||
|
|
|
@ -266,6 +266,10 @@ enum class GSizes : unsigned char { ALL,
|
|||
#define SCASSERT(cond) qt_noop();
|
||||
#endif /* V_NO_ASSERT */
|
||||
|
||||
#ifndef __has_cpp_attribute
|
||||
# define __has_cpp_attribute(x) 0
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
|
||||
# define V_FALLTHROUGH [[fallthrough]];
|
||||
#elif defined(Q_CC_CLANG) && __cplusplus >= 201103L
|
||||
|
|
Loading…
Reference in New Issue
Block a user