I looked at what it takes to port this program to C99 and away from implicit function declarations. This seems to be a major change. I started with the genesis/src/Xodus/Xo/ directory, and the sources do not use prototypes. There isn't even a shared internal header file to which function prototypes could be added. So I think this package has to be built in C89 mode. It looks like it builds just fine using that.
Hi Florian, Thanks for looking into it. Yeh, this is legacy software, but unfortunately, there are still models/users out there that use it. I can open an issue with upstream I guess, but I wouldn't expect any major work to happen on this any time soon (or ever). Cheers, Ankur
(In reply to Ankur Sinha (FranciscoD) from comment #1) > Yeh, this is legacy software, but unfortunately, there are still > models/users out there that use it. I can open an issue with upstream I > guess, but I wouldn't expect any major work to happen on this any time soon > (or ever). If you have a way to file issues upstream, please suggest that they build at least in with -std=gnu89, so that things don't stop working when GCC and Clang get more strict about enforcing C99 syntax. Thanks.
Filed an issue upstream: https://github.com/genesis-sim/genesis-2.4/issues/6