Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39538 - [zeromq] errors in zmq.hpp
Attached to Project:
Community Packages
Opened by Mikhail Burakov (Pyromaniac) - Wednesday, 19 March 2014, 11:10 GMT
Last edited by Kyle Keen (keenerd) - Thursday, 09 July 2015, 11:42 GMT
Opened by Mikhail Burakov (Pyromaniac) - Wednesday, 19 March 2014, 11:10 GMT
Last edited by Kyle Keen (keenerd) - Thursday, 09 July 2015, 11:42 GMT
|
DetailsDescription:
There is inconsistency between c impl and c++ wrapper in latest release of 4.0.4-1. Steps to reproduce: If you try to include the header zmq.hpp into your c++ unit the error will appear: /usr/include/zmq.hpp: In function 'void zmq::proxy_steerable(void*, void*, void*, void*)': /usr/include/zmq.hpp:120:74: error: 'zmq_proxy_steerable' was not declared in this scope Some details: https://github.com/zeromq/cppzmq/issues/34 Please repack as soon as issue 34 will be fixed. |
This task depends upon
Closed by Kyle Keen (keenerd)
Thursday, 09 July 2015, 11:42 GMT
Reason for closing: Fixed
Additional comments about closing: zeromq-4.0.4-2 & SVN
Thursday, 09 July 2015, 11:42 GMT
Reason for closing: Fixed
Additional comments about closing: zeromq-4.0.4-2 & SVN
Moreover provided PKGBUILD builds working version (md5sum for "zmq.hpp" must be updated to "37b74022028bd4dc9253f123fa27da63").
I only use zmq through the python bindings and only test those. Could you provide a link to a minimal test-case for the C++ bindings? Otherwise I'm likely to make this mistake again in the future.
Bad header:
[mburakov@mb-arch ~]$ LANG=C gcc -c /usr/include/zmq.hpp -o /tmp/test.o
/usr/include/zmq.hpp: In function 'void zmq::proxy_steerable(void*, void*, void*, void*)':
/usr/include/zmq.hpp:120:74: error: 'zmq_proxy_steerable' was not declared in this scope
int rc = zmq_proxy_steerable (frontend, backend, capture, control);
^
Good header:
[mburakov@mb-arch ~]$ LANG=C gcc -c /usr/include/zmq.hpp -o /tmp/test.o
{no additional output}
Since zeromq is not installed during check() it needed a little massaging:
LANG=C gcc -c ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
Pulled down an old zmq.hpp and it does indeed fail. Thanks Mikhail, my apologies for taking a year to figure out what you were doing.