Compiling a program with with a rpc call, the following error:
g++ -g -I/usr/include/ntirpc -c vxi11_cmd.cc -o vxi11_cmd.o
In file included from **/usr/include/ntirpc/rpc/rpc.h:47**,
from **vxi11_user.h:31**,
from **vxi11_cmd.cc:25**:
**/usr/include/ntirpc/rpc/xdr.h:136:18:****error: **declaration of ‘**vio_type xdr_vio::vio_type**’ changes meaning of ‘**vio_type**’ **-fpermissive**]
136 | vio_type **vio_type**; /* type of buffer */
This error is thrown in a system file. Nothing included before (#include <rpc/rpc.h).
Anybody knows, how to solve this problem?
Original Program:
https://github.com/applied-optics/vxi11
Thanks,
Johannes