Skip to content

Conversation

@jini-zh
Copy link

@jini-zh jini-zh commented Dec 13, 2023

See individual commits for comments. One important thing not addressed in this pull request are the warnings about ignoring return values of zmq::recv.

Evgenii Zhemchugov and others added 2 commits December 13, 2023 18:48
libpqxx has moved to C++-17 in 7.0, and so shall we.
pqxx::connection::disconnect was deprecated and removed in 7.0
- zmq::move, zmq::copy, zmq::socket::recv now take a reference to the
  message instead of a pointer.

- zmq::socket::send now requires a zmq::send_flags argument
  (a quite unfortunate design decision)

- zmq::socket_t::setsockopt is deprecated in favour of zmq::socket_t::set
  with a zmq::sockopt parameter.

- zmq::poll timeout parameter type is now std::chrono::milliseconds
  instead of int.

- ZMQ_NOBLOCK is deprecated in favour to zmq::send_flags::dontwait
  (ZMQ_DONTWAIT)
@jini-zh jini-zh force-pushed the cppzmq-update branch 2 times, most recently from c22e184 to 18efc8d Compare December 14, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant