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

Link Problem

I build a library with m functions, I called
n (n<m) functions, How can I avoid the warning:"Uncall function"?

Parents
  • This warning is bad news - you need to get rid of it or you'll soon run out of DATA space. You need to make sure that every function in the library resides alone in its own source file to prevent the linker linking in the uncalled functions. It's ok to put additional 'helper' functions in a source file provided that they are *all* called by the exported function and *none* of these 'helper' functions are called by any functions in other source files.

    Stefan

Reply
  • This warning is bad news - you need to get rid of it or you'll soon run out of DATA space. You need to make sure that every function in the library resides alone in its own source file to prevent the linker linking in the uncalled functions. It's ok to put additional 'helper' functions in a source file provided that they are *all* called by the exported function and *none* of these 'helper' functions are called by any functions in other source files.

    Stefan

Children
No data