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

Does PK166 comile and link non-use functions ?

Hi,

As far as I know PK51 will compile and link non-use functions though the comiler issues a warning. It seems that PK166 does not compile and link non-use functions, is that correct ?

Daniel

Parents
  • a) An unused static function will be not be linked.
    b) An unused non-static function will be linked if it is part of an object file.
    c) An unused non-static function will not be linked if it is part of a library.

    Both unused static and non-static functions will always be compiled.

    Thomas

Reply
  • a) An unused static function will be not be linked.
    b) An unused non-static function will be linked if it is part of an object file.
    c) An unused non-static function will not be linked if it is part of a library.

    Both unused static and non-static functions will always be compiled.

    Thomas

Children
No data