-change_message


< Compile Options / Source Options >

[Format]

-change_message = <sub>[,...]
                  <sub>: <error level>[=<error number>[- <error number>][,...]]
                         <error level>: { information | warning | error }

[Description]

-

This option changes the message level of information-level and warning-level messages.

-

Multiple error numbers can be specified by separating them with a comma (,).

-

Error numbers are specified by the five lower-order digits (i.e. five digits from the right) of the message numbers without the prefix "M" (information) or "W" (warning).

Example: To change the level of information message M0523009

-change_message=error=23009

-

Although this option may change the types of some messages (e.g. error (E) or warning (W)), the meaning of the message indicated by the component or message number remains the same.

[Example]

change_message=information=error number

-

Warning-level messages with the specified error numbers are changed to information-level messages.

change_message=warning=error number

-

Information-level messages with the specified error numbers are changed to warning-level messages.

change_message=error=error number

-

Information-level and warning-level messages with the specified error numbers are changed to error-level messages.

change_message=information

-

All warning-level messages are changed to information-level messages.

change_message=warning

-

All information-level messages are changed to warning-level messages.

change_message=error

-

All information-level and warning-level messages are changed to error-level messages.

[Remarks]

-

The output of messages which have been changed to information-level messages can be disabled by the nomessage option.

-

Message output from the assembler or optimizing linkage editor cannot be controlled by this option. Message output from the optimizing linkage editor can be controlled by using the lnkcmd option to specify the message or nomessage option of the optimizing linkage editor.

-

If this option is specified for more than one time, all specified error numbers are valid.

-

Only the levels of warning and information messages can be controlled by this option. Specification of the option for a message not at these levels is ignored.

-

This option is not usable to control the level of MISRA2004 detection messages (labeled M) that appear when the misra2004 option has been specified.