Reserved Names Used in Code Symbol
This compiler hint appears when the exported function specified by a C Code Symbol uses a reserved name. The message is displayed in the Messages panel in the following format:
The exported function in a code symbol can not be called "FunctionName"
,
where
FunctionName is the name of the offending exported function, specified in the Function Name field, on the Signature tab of the symbol's properties dialog.
Default Report Mode
Error
Recommendation
Use the Compile Errors dialog to quickly locate the offending C Code Symbol.
Currently there is only one reserved name that is checked for, and that is main
(irrespective of case). Ensure that the function name in the C source file is not so named. If it is, change it accordingly, ensuring that the C Code Symbol points to the new function name.