Suppress ZMQ_EXTENDED_CONSTEXPR on gcc with partial C++14 support

This commit is contained in:
Alexander Hirsch 2022-04-21 11:57:37 +02:00
parent dd663fafd8
commit b9f6e06a16

View File

@ -94,7 +94,7 @@
#define ZMQ_CONSTEXPR_VAR const
#define ZMQ_CPP11_DEPRECATED(msg)
#endif
#if defined(ZMQ_CPP14) && (!defined(_MSC_VER) || _MSC_VER > 1900)
#if defined(ZMQ_CPP14) && (!defined(_MSC_VER) || _MSC_VER > 1900) && (!defined(__GNUC__) || __GNUC__ > 5 || (__GNUC__ == 5 && __GNUC_MINOR__ > 3))
#define ZMQ_EXTENDED_CONSTEXPR
#endif
#if defined(ZMQ_CPP17)