Technical Support

GENERAL: TURNING OFF WARNINGS


Information in this article applies to:

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

SYMPTOMS

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.

RESOLUTION

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 08, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure