|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Removing Linker Warning L16 (Uncalled Segment)Information in this article applies to:
QUESTIONI have some unused functions in my program which generate linker warnings. Because the functions enterdata and myfunc are not used, the following warning is generated:
I know that the data overlaying is incomplete and might be inefficient, but is there some way to remove these Linker warnings? ANSWERYes, you may use the Linker OVERLAY directive. This directive allows you to add dummy calls, and the Linker thinks that the function is called. The following command removes the linker warnings:
µVision allows you to enter the OVERLAY directive under Project - Options for Target - Lx51 Misc - Overlay:
MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.