Re: [libvirt] [PATCH v2] genprotocol.pl: Fix code on FreeBSD too

2013-09-30 Thread Guido Günther
On Fri, Sep 27, 2013 at 04:55:39PM +0200, Michal Privoznik wrote: > On some systems (linux, cygwin and gnukfreebsd) rpcgen generates files > which when compiling produces this warning: > > remote/remote_protocol.c: In function 'xdr_remote_node_get_cpu_stats_ret': > remote/remote_protocol.c:530: wa

Re: [libvirt] [PATCH v2] genprotocol.pl: Fix code on FreeBSD too

2013-09-27 Thread Daniel P. Berrange
On Fri, Sep 27, 2013 at 04:55:39PM +0200, Michal Privoznik wrote: > On some systems (linux, cygwin and gnukfreebsd) rpcgen generates files > which when compiling produces this warning: > > remote/remote_protocol.c: In function 'xdr_remote_node_get_cpu_stats_ret': > remote/remote_protocol.c:530: wa

[libvirt] [PATCH v2] genprotocol.pl: Fix code on FreeBSD too

2013-09-27 Thread Michal Privoznik
On some systems (linux, cygwin and gnukfreebsd) rpcgen generates files which when compiling produces this warning: remote/remote_protocol.c: In function 'xdr_remote_node_get_cpu_stats_ret': remote/remote_protocol.c:530: warning: dereferencing type-punned pointer will break strict-aliasing rules [