gazebosim / gz-transport

Transport library for component communication based on publication/subscription and service calls.
https://gazebosim.org
Apache License 2.0
29 stars 43 forks source link

Deprecation warnings on homebrew from cppzmq send and recv functions #111

Open osrf-migration opened 5 years ago

osrf-migration commented 5 years ago

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


There are lots of deprecation warnings on homebrew complaining that send and recv functions in zmq.hpp (from cppzmq) have been deprecated in some way:

Build Status https://build.osrfoundation.org/view/os_homebrew/job/ignition_transport-ci-ign-transport7-homebrew-amd64/6/warnings10Result/

src/Node.cc:635:14: warning: 'send' is deprecated: from 4.3.1, use send taking message_t and send_flags [-Wdeprecated-declarations]
      socket.send(msg, ZMQ_SNDMORE);
             ^
/usr/local/include/zmq.hpp:1189:5: note: 'send' has been explicitly marked deprecated here
    ZMQ_DEPRECATED("from 4.3.1, use send taking message_t and send_flags")
    ^
/usr/local/include/zmq.hpp:41:31: note: expanded from macro 'ZMQ_DEPRECATED'
#define ZMQ_DEPRECATED(msg) [[deprecated(msg)]]
                              ^
osrf-migration commented 5 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


osrf-migration commented 5 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


The send and recv functions were modified in the following cppzmq pull request:

osrf-migration commented 5 years ago

Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).


See pull request #397.

osrf-migration commented 4 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


See pull request #438