warning. NXP CodeWarrior Development Studio
تبلیغات
تبلیغات
warning
#pragma warn_unusedvar on
#pragma warn_unusedarg on static void ff(int /* No warning */)
{
int b;
#pragma unused(b)
/* Compiler does not warn that b is unused. */
}
This pragma does not correspond to any CodeWarrior IDE panel setting.
31.9 warning
Controls which warning numbers are displayed during compiling.
Syntax
#pragma warning on | off | reset (
num [, ...])
This alternate syntax is allowed but ignored (message numbers do not match):
#pragma warning
(
warning_type :
warning_num_list [,
warning_type :
warning_num_list , ...])
Parameters
num
The number of the warning message to show or suppress.
warning_type
Specifies one of the following settings:
• default
• disable
• enable
warning_num_list
The warning_num_list is a list of warning numbers separated by spaces.
Remarks
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
472 Freescale Semiconductor, Inc.
دانلود
تبلیغات