Closed vifino closed 11 months ago
I cherry-picked 28b6557 (the prototype fix) which is fine. I then tried to rebase this PR on main so that only the other commit is left for discussion, but failed and unintentionally closed the PR.
I would like to see a fix not involving sdcc version sniffing.
I've fixed the build for libfx2 with new SDCC versions. This fixes #11.
In addition, I've also made all functions that take no arguments declare a proper prototype. This silences sdcc compiler warning 283 and makes the code more correct.
I tested with SDCC 4.2.0 and SDCC 4.3.0.