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
All 4 functions are in a single file. and compiled to generate lib file. and i added this lib file to project.
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.