Re: MCC Generated code has errors in compile
Messages you have shown are Warnings, not errors.
Warning levels are options that may be changed in MPLAB X 'Project Settings'
for the compiler that is beeing used.
Later versions of the compiler, and the standard specifying C language,
is more specific about warning messages to be issued at different warning levels.
MCC is creating a number of 'may be useful / may be nice to have' functions
as part of project source code.
But MCC does Not know wether these functions will be actually used in application code.
Since these functions are part of project, and not contained in a linkable library,
Compiler will issue a warning that there are some functions in source code,
that are not beeing used.
Since this might possibly be caused by a misspelling, duplication or other mistake in source code,
it is seen as something the programmer should be made aware of.
Thus the warning.
If you want to, when programming is complete, and ready for testing,
you may go thru the list of warnings, and either comment out, or remove those functions that are not used.
Although, some program developers use the following program development rules:
"Test what you fly and fly what you have tested."