C3600: Function has no code: remove it!

[ERROR]

Description

It is an error when a function is really empty because such a function can not be represented in the memory and it does not have an address. Because all C functions have at least a return instruction, this error can only occur with the pragma NO_EXIT. Remark that not all targets support NO_EXIT.

Example
  #pragma NO_EXIT

  
  void main(void) {}

  
Tips

Remove the function. It is not possible to use an empty function.