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

about warning 16

I generated a library file (.lib) using LIB51 and expected that if I compiled an independent source file and linked it with the library, the linker would take care of only pulling in the functions that were referenced. However, the linker is including all functions in each module from the library and I'm getting linker warnings about these uncalled functions.

best regard!

Parents
  • If you have more than one function in a module, if a single function from the module is needed, then the entire module's code is pulled in from the library. The only way to minimize this is to make as many single function modules as possible, and insert them in the library one at a time.

Reply
  • If you have more than one function in a module, if a single function from the module is needed, then the entire module's code is pulled in from the library. The only way to minimize this is to make as many single function modules as possible, and insert them in the library one at a time.

Children
No data