-WmsgFonp: Message Format for no Position Information

Group

MESSAGES

Scope

Function

Syntax
  -WmsgFonp<string> 
  
Arguments

<string>: format string (see below)

Default
  -WmsgFonp"%"%f%e%": %K %d: %m\n" 
  
Defines

None

Pragmas

None

Description

Sometimes there is no position information available for a message (e.g., if a message not related to a certain position). 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

Seealso

ERRORFILE: Error filename Specification

Compiler options: