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