Fixed in master two months ago <https://github.com/zeromq/libzmq/pull/388>, and I just submitted a PR <https://github.com/zeromq/zeromq3-x/pull/28> to backport to the 3.x release branch.
Thanks! On Sun, Aug 5, 2012 at 1:05 PM, Allan Wind <[email protected]>wrote: > Hi, > > The trivial program: > > #include <zmq.h> > int main() { return 0; } > > yields warnings: > > allan@vent:~$ gcc -I /home/allan/include 1.c > In file included from 1.c:1:0: > /home/allan/include/zmq.h:344:45: warning: ‘struct iovec’ > declared inside parameter list > /home/allan/include/zmq.h:344:45: warning: its scope is only this > definition or declaration, which is probably not what you want > /home/allan/include/zmq.h:345:45: warning: ‘struct iovec’ > declared inside parameter list > > allan@vent:~$ grep -n iovec include/zmq.h > 344:ZMQ_EXPORT int zmq_sendiov (void *s, struct iovec *iov, > size_t count, int flags); > 345:ZMQ_EXPORT int zmq_recviov (void *s, struct iovec *iov, > size_t *count, int flags); > > > /Allan > -- > Allan Wind > Life Integrity, LLC > <http://lifeintegrity.com> > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
