ARM Technical Support Knowledge Articles

WARNINGLEVEL DIRECTIVE

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

How can I control which warnings are output by the compiler?

ANSWER

The warninglevel directive allows you to suppress compiler warnings. You may use this directive to set the compiler warning level to one of the following values.

0 — Disables almost all compiler warnings
1 — Lists only those warnings which may generate incorrect code.
2 — Lists all WARNING messages. This is the default setting.

MORE INFORMATION

Article last edited on: 2007-07-05 23:39:40

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