dCache / oncrpc4j

Pure Java implementation of ONCRPC/SUNRPC
Other
30 stars 30 forks source link

Jrpcgen is throwing error while generating server and client stubs #73

Closed challenger572 closed 5 years ago

challenger572 commented 5 years ago

.x file ..when I create the function without arguments .. It is throwing syntax error .. But when I create the function with argument. It is working properly . Is there any solution .?? Because I have c++ code which is running on sever .I want to make the call to that functions ..c++ code contain the functions without parameters .

kofemann commented 5 years ago

Can you provide your .x file?

challenger572 commented 5 years ago

Hi SS.x file : Int add(): It is throwing error while jrpcgen parsing ..so I edited method like . int add (void).then jrpcgen parsed correctly.