Skip to content

error: too many arguments to function 'gpm_xdr_set[proc].arg_fn'; expected 0, have 2 #117

@jas4711

Description

@jas4711

Hi! We got some build errors of this package in recent Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114140

This used to work, so something must have changed, but it seems the prototype is a bit weird, quoting /usr/include/tirpc/rpc/xdr.h:

#ifdef _KERNEL
typedef bool_t (*xdrproc_t)(XDR *, void *, u_int);
#else
/*
 * XXX can't actually prototype it, because some take three args!!!
 */
typedef bool_t (*xdrproc_t)(XDR *, ...);
#endif

Any ideas?

Thanks,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions