Skip to content

Commit

Permalink
Suppress ZMQ_EXTENDED_CONSTEXPR on gcc with partial C++14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gin-ahirsch committed May 6, 2022
1 parent dd663fa commit b9f6e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b9f6e06

Please sign in to comment.