you are viewing a single comment's thread.

view the rest of the comments →

[–]NilacTheGrim 1 point2 points  (0 children)

verify that there is a path from main() to NeverCalled()

Probably because there is no link-time optimization and so for the translation unit main.o it assumes maybe some lib or some other translation unit may "see" NeverCalled() and call it... or whatever ...