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
There was a long thread on this a while ago - try a search. "inform the compiler just to ignore this function" You mean Linker. Do any of the techniques here help: http://www.keil.com/appnotes/docs/apnt_129.asp There's also a knowledgebase article on function pointers
Hi Andrew, Yes, I mean indeed the linker, not the compiler. Sorry for mentioning the wrong tool. Thanks anyway for the useful input. The input given by Jon is also worth looking at. Maybe creating a library is the solution in my case. I'll have a closer look at it. Rgds, Geert