GCC C compile error, void value not ignored as it ought to be

前端 未结 5 1353
长情又很酷
长情又很酷 2020-12-20 15:40

I\'m having trouble compiling some C code. When I compile, I\'l get this error:

player.c: In function ‘login’:  
player.c:54:17: error: void value not igno         


        
5条回答
  •  眼角桃花
    2020-12-20 16:02

    It doesn't look like sp_session_login actually returns anything. In particular, it doesn't return an sp_error, so there's no way this could work. You can't really bypass it.

提交回复
热议问题