G
Guest
If in my project I have a function which is not called,
does linker add this function from object file to final binary file? (not a lib, an executable)
If yes, why? (function has not 'extern')
I ask because if I create classes and inherited classes,
then if only use the polymorphism member functions of inherited class,
in the final binary I will have the mama(?)-class member functions.
does linker add this function from object file to final binary file? (not a lib, an executable)
If yes, why? (function has not 'extern')
I ask because if I create classes and inherited classes,
then if only use the polymorphism member functions of inherited class,
in the final binary I will have the mama(?)-class member functions.