I run into some errors while trying to compile on Linux Mint 20:
src/game/behaviors/got_milk.inc.c:85:6: error: conflicting types for 'bhv_milk_end'
void bhv_milk_end() {
^
src/game/behaviors/got_milk.inc.c:77:9: note: previous implicit declaration is here
bhv_milk_end();
And 2 similar errors on other files.
I fixed them by moving the functions before they were called so there are no implicit declarations, and I now manage to compile without errors. I'm not sure why I'm getting these errors while others don't (as I doubt I am the first one to compile that on Linux), but in case someone else might run into the same problem, I figured I might as well do a pull request.
I run into some errors while trying to compile on Linux Mint 20:
And 2 similar errors on other files.
I fixed them by moving the functions before they were called so there are no implicit declarations, and I now manage to compile without errors. I'm not sure why I'm getting these errors while others don't (as I doubt I am the first one to compile that on Linux), but in case someone else might run into the same problem, I figured I might as well do a pull request.