This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

linker warning

hi all,

i am building 8051 application in keil compiler.i got an warning message when linking... like this.....
*** WARNING L16: UNCALLED SEGMENT,IGNORED FOR OVERLAY PROCESS
SEGMENT :?PR?_ANALOGVOL?ANALOG

from the above warning ...analogvol is an function..analog is a file name which is having the definition of analogvol....please help me to find out this and how to clear.....
thanks in advance.
m.y.sam

Parents
  • a simple "tide me over" is

    bit helper;
    
    ...
    
    helper = 0;
    if (helper)
    {
      MyCurrentlyUncalledFunction():
    }
    

    The beauty of this method is that it does not interfer once you start using the function.

    Erik

    PS I guess that some "optimizer happy" person can work out how to make this work even when optimizing.

Reply
  • a simple "tide me over" is

    bit helper;
    
    ...
    
    helper = 0;
    if (helper)
    {
      MyCurrentlyUncalledFunction():
    }
    

    The beauty of this method is that it does not interfer once you start using the function.

    Erik

    PS I guess that some "optimizer happy" person can work out how to make this work even when optimizing.

Children