[libvirt PATCH 0/2] rpc: Make rpcgen produce ANSI C code

Andrea Bolognani posted 2 patches 5 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
meson.build            | 12 +-----------
src/rpc/genprotocol.pl |  5 ++---
2 files changed, 3 insertions(+), 14 deletions(-)
[libvirt PATCH 0/2] rpc: Make rpcgen produce ANSI C code
Posted by Andrea Bolognani 5 months, 3 weeks ago
Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/1059558331

Should make it possible to build libvirt on macOS 14, where it
currently fails with

  src/rpc/virnetprotocol.c:13:1: error: a function definition without
  a prototype is deprecated in all versions of C and is not supported
  in C2x [-Werror,-Wdeprecated-non-prototype] xdr_virNetMessageType(xdrs, objp)

Andrea Bolognani (2):
  rpc: Drop support for portable-rpcgen
  rpc: Make rpcgen produce ANSI C code

 meson.build            | 12 +-----------
 src/rpc/genprotocol.pl |  5 ++---
 2 files changed, 3 insertions(+), 14 deletions(-)

-- 
2.41.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [libvirt PATCH 0/2] rpc: Make rpcgen produce ANSI C code
Posted by Laine Stump 5 months, 3 weeks ago
On 11/2/23 7:37 PM, Andrea Bolognani wrote:
> Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/1059558331
> 
> Should make it possible to build libvirt on macOS 14, where it
> currently fails with
> 
>    src/rpc/virnetprotocol.c:13:1: error: a function definition without
>    a prototype is deprecated in all versions of C and is not supported
>    in C2x [-Werror,-Wdeprecated-non-prototype] xdr_virNetMessageType(xdrs, objp)
> 
> Andrea Bolognani (2):
>    rpc: Drop support for portable-rpcgen
>    rpc: Make rpcgen produce ANSI C code
> 
>   meson.build            | 12 +-----------
>   src/rpc/genprotocol.pl |  5 ++---
>   2 files changed, 3 insertions(+), 14 deletions(-)
> 

Reviewed-by: Laine Stump <laine@redhat.com>

although I had to apply the patches manually (git am -3 failed).
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org