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
  • all functions in a single file and seperate objects
    one file generates one object.

    The linker can not include 1/4 of an object file and thus if one function in an object in a library is needed all functions in that object get linked in.

    Instead of making your library from one file with 4 functions make it from 4 files with one function each .

    Erik

Reply
  • all functions in a single file and seperate objects
    one file generates one object.

    The linker can not include 1/4 of an object file and thus if one function in an object in a library is needed all functions in that object get linked in.

    Instead of making your library from one file with 4 functions make it from 4 files with one function each .

    Erik

Children