Hello, Is there a way to avoid the following warning: Warning L16: uncalled segment, ignored for overlay process? I'm not talking about the Disable warning numbers you have in the options of a project... I know what the overlay process does, but if the function is indeed not called (and there could be reasons not to call a function for a certain application), is there not a kind of 'dead code remover' who can check if a function is called or not? If so, is this function not able to inform the compiler just to ignore this function and not to generate the warning? Rgds, Geert
If you include a function in an object file that you pass to the linker, you are explicitly telling the linker to include the function no matter what. If you want to create functions that are selectively included based on whether they are called, you must use a library. Each object in the library should contain exactly one function. Then, if a function is not used, it is not included from the library. Jon