rpc programming issue

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

Thread moved to “Programming/Scripting”.

Open bug report on project site. This is invalid in C++ (although some compilers do tolerate it). You may also try to add -fpermissive as suggested.

http://www.cplusplus.com/forum/general/171799/

I have an issue. Actually, I made a refrigerator reviews website on wordpress but it is creating security issue. Tell me can I use it for future or not?

http://doramasflix.cl/