Skip to content

Commit

Permalink
Merge pull request zeromq#553 from gin-ahirsch/gcc-non14-constexpr
Browse files Browse the repository at this point in the history
Suppress ZMQ_EXTENDED_CONSTEXPR on gcc with partial C++14 support
  • Loading branch information
gummif authored May 10, 2022
2 parents a98fa4a + b9f6e06 commit 2636233
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 2636233

Please sign in to comment.