warning: (520) function “_SomeFunctionName” is never called
Setting warning level to 0 will get rid of this one
Right click project > Properties > XC8 Global Options > XC8 Compiler > Warning Level = 0
warning: (1518) direct function call made with an incomplete prototype
For example warning will be created for calling this code configurator generated function:
ADC_StartConversion();
Warning is created because code configurator code is incorrect, they have declared their (void) functions without including the “void” in the function definition brackets. This is not correct for a C function, hence the warning. You can ignore the warning or have to go through and update all of the code configurator functions you call with void added inside the brackets.
Microchip tech support response: You can update the bool ADC_StartConversion(); function in adc.h file to bool ADC_StartConversion(void); such that a prototype that used to have () now has a (void) within the parenthesis and that will fix the warnings.