Keil Logo


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.01
  • C251 Version 2.14
  • C51 Version 5.50


I've put some code in to spit out values for debugging, but when I turn them off (comment out the function call) I get linking warnings:

Warning 16: uncalled segment, ignored for overlay process

Is there a way of 'turning these warnings off'? I've been clicking on the Ignore Warnings box in the Options-make-Misc screen, but I don't want to turn off _all_ warnings.


The release notes mention a DISABLEWARNING directive (DW) with which you can specify which warnings you want the compiler or linker to ignore. This would go on the "additional" tab of the linker, and the "misc" tab of the compiler.

The syntax in the above case would be DW(16) entered on the "additional" tab in the linker options.

Last Reviewed: Tuesday, June 8, 2004

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.