compiler uses only used functions ?
Posted: Thu Nov 30, 2006 12:18 pm
Hi
I have a dummie question: Is the compiler optimised that not used functions are not in the compiled program?
Why I ask: I made some sub source files with global handling functions and bind them in my program source with XIncludeFile. When I make a program with much of all functions the compiled file size is nearly same as a program with only one function of that used (PB3.94).
Or should I use an other way to do that?
But I do not want DLLs or separate files to handle.
Many thanks for your help.
SKER
I have a dummie question: Is the compiler optimised that not used functions are not in the compiled program?
Why I ask: I made some sub source files with global handling functions and bind them in my program source with XIncludeFile. When I make a program with much of all functions the compiled file size is nearly same as a program with only one function of that used (PB3.94).
Or should I use an other way to do that?
But I do not want DLLs or separate files to handle.
Many thanks for your help.
SKER