This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error while Lib

Dear All,

I created a serial.lib file with four functions, and added to new project . in main i called only 2 function which is present in lib file. so its giving me an warning "*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS" this is because of other 2 function which is not called in main.

how to clear this warning...

Thanks & regards
Kiran Kumar D

Parents
  • Yes, real libraries are built from a huge number of source files, to get a high granularity.

    That has been the standard behaviour for almost all language tools since beginning of time. Most architectures don't have object file formats that supports cutting/pasting of individual symbols during the linking. Most tools are completely silent about unused symbols being added - some allows it to be seen in the generated map file.

Reply
  • Yes, real libraries are built from a huge number of source files, to get a high granularity.

    That has been the standard behaviour for almost all language tools since beginning of time. Most architectures don't have object file formats that supports cutting/pasting of individual symbols during the linking. Most tools are completely silent about unused symbols being added - some allows it to be seen in the generated map file.

Children
No data