ARM Technical Support Knowledge Articles

TURNING OFF WARNINGS

Applies to: General Topics

Answer


Information in this article applies to:


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.

Article last edited on: 2004-06-08 13:07:10

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential