Code Monkey home page Code Monkey logo

Comments (1)

lundmar avatar lundmar commented on May 29, 2024

Yeah, it's been there for a while. The only reason that I have not put in any effort to fix the code is because the warning is in code auto generated by rpcgen from the vxi11core.rpcl file. In fact, the header of the source file says "* Please do not edit this file. * It was generated using rpcgen.".

This code has been in production for decades now on many different platforms so I'm not too worried about its correctness. By closer inspection, the code is related to the (clnt_call) rpc call which destructs an interrupt channel and takes as parameter a function pointer to xdr_void which does not have the expected prototype. However, this is just an address to a pointer function so it will only cause a problem on the call stack when invoked on the remote side but in case of destroying the channel it is not called so no problem. The original vxi11core.rpcl is very explicit about the definition of this rpc call.

However, since you noticed the warning I will simply go ahead and suppress it using pragmas. It is fixed in a2004b2

from liblxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.