midicomp icon indicating copy to clipboard operation
midicomp copied to clipboard

Build errors because of argumentless declarations

Open peteroupc opened this issue 1 month ago • 0 comments

The build of this program fails even if the instructions in the README are followed. This is probably because the source code uses argument-less declarations for functions with arguments.

In addition to the use of error(), the subject of a pending pull request, the source code also declares many functions without arguments, but defines them later to have arguments. Examples are void (*Mf_program)() = NULLFUNC;, static long to32bit(), etc. These declarations abound and it is too tedious to correct all of them. Is there a build option to allow the compiler to accept these declarations?

peteroupc avatar Nov 21 '25 05:11 peteroupc