-WmsgFonf: Message Format for no File Information

Group

MESSAGES

Scope

Function

Syntax
  -WmsgFonf<string> 
  
Arguments

<string>: format string (See below.)

Default
  -WmsgFonf"%K %d: %m\n" 
  
Defines

None

Pragmas

None

Description

Sometimes there is no file information available for a message (e.g., if a message not related to a specific file). Then the message format string defined by <string> is used. The following table lists the supported formats.

Table 1. Message Format Specifiers
Format Description Example
%K Uppercase kind ERROR
%k Lowercase kind error
%d Number C1815
%m Message text
%% Percent %
\n New line  
%" A " if the filename, if the path or the extension contains a space  
%' A ' if the filename, the path or the extension contains a space  
Example
  -WmsgFonf"%k %d: %m\n" 
  

Produces a message in following format:

information L10324: Linking successful

See also

ERRORFILE: Error filename Specification

Compiler options :