This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

warning #179-D: function "<function_name>" was declared but never referenced

Should this error only occur if you declare static functions but never call them within the same file?

I'm getting this warning with regular functions in a .c file.  Here is an example:

void myfunction( uint16_t i, uint16_t j )

{

...

}

Any ideas?


Thanks
Kevin