[Openec] unused functions
Frieder Ferlemann
frieder.ferlemann at web.de
Fri Nov 5 18:58:14 EDT 2010
Hi Paul,
> > Could you reenable warning 16 and then encapsulate unused functions
> > (not their prototypes) with #ifndef SDCC ... #endif?
>
> yes, something like that was my plan. richard's on vacation, and i
> wanted to touch base with him first.
Maybe then try with one function (to see whether it has an effect)
and then revert that change again.
> why not the prototypes?
To save work. (It's not needed. If for some reason a previously
unused function is needed again then SDCC will compile the code
dependent on the previously unused function but fail at the
linking stage.
Fair enough and will give a good hint at where the problem is.)
Greetings,
Frieder
More information about the Openec
mailing list