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.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.