warning. NXP CodeWarrior Development Studio
Reklamë
Reklamë
Chapter 31 Pragmas for Diagnostic Messages
/* 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
Use the pragma showmessagenumber
to display warning messages with their warning numbers.
This pragma only applies to CodeWarrior front-end warnings. Using the pragma for the back-end warnings returns invalid message number warning.
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
Freescale Semiconductor, Inc.
485
Shkarko
Reklamë