-WmsgFonp: Message format for no position information

Group

Messages

Scope

Assembly Unit

Syntax
  -WmsgFonp<string>
  
  
Arguments

<string>: format string (see below)

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

Sometimes there is no position information available for a message (e.g., if a message not related to a certain position). Then this message format string is used. The following formats are supported (supposed that the source file is x:\Freescale\sourcefile.asmx)

Listing: Supported message formats for when there is no position information

Format Description          Example
----------------------------------------------------

%p     Path                 x:\Freescale\

%f     Path and name        x:\Freescale\sourcefile

%n     Filename             sourcefile

%e     Extension            .asmx

%N     File (8 chars)       sourcefi

%E     Extension (3 chars)  .asm

%K     Uppercase kind       ERROR

%k     Lowercase kind       error

%d     Number               L10324

%m     Message              text

%%     Percent              %

\n     New line
Example
  ASMOPTIONS=-WmsgFonf"%k %d: %m\n"
  
  

produces a message in following format:

  information L10324: Linking successful

  
See also

ERRORFILE: Filename specification error environment variable

Assembler options: