"noexcept" is only supported since the Visual Studio 2015
--HG-- branch : develop
This commit is contained in:
parent
ee88e14416
commit
25b46d651e
|
@ -54,8 +54,8 @@ static const quint32 null_id = 0;
|
||||||
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
# define V_NOEXCEPT_EXPR(x) noexcept(x) // GCC 4.7 and following have noexcept
|
# define V_NOEXCEPT_EXPR(x) noexcept(x) // GCC 4.7 and following have noexcept
|
||||||
# endif
|
# endif
|
||||||
# elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 180021114
|
# elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 190023026
|
||||||
# define V_NOEXCEPT_EXPR(x) noexcept(x)
|
# define V_NOEXCEPT_EXPR(x) noexcept(x) // Visual Studio 2015 and following have noexcept
|
||||||
# else
|
# else
|
||||||
# define V_NOEXCEPT_EXPR(x)
|
# define V_NOEXCEPT_EXPR(x)
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -46,8 +46,8 @@
|
||||||
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
# define QMUP_NOEXCEPT_EXPR(x) noexcept(x) // GCC 4.7 and following have noexcept
|
# define QMUP_NOEXCEPT_EXPR(x) noexcept(x) // GCC 4.7 and following have noexcept
|
||||||
# endif
|
# endif
|
||||||
# elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 180021114
|
# elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 190023026
|
||||||
# define QMUP_NOEXCEPT_EXPR(x) noexcept(x)
|
# define QMUP_NOEXCEPT_EXPR(x) noexcept(x) // Visual Studio 2015 and following have noexcept
|
||||||
# else
|
# else
|
||||||
# define QMUP_NOEXCEPT_EXPR(x)
|
# define QMUP_NOEXCEPT_EXPR(x)
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user