-WmsgFi (-WmsgFiv, -WmsgFim): Set Message Format for Interactive Mode

Group

MESSAGES

Scope

Compilation Unit

Syntax
  -WmsgFi[v|m] 
  
Arguments

v: Verbose format

m: Microsoft format

Default
  -WmsgFiv 
  
Defines

None

Pragmas

None

Description

The Compiler operates in the interactive mode (that is, a window is visible) if it is started without additional arguments (e.g., files to be compiled together with Compiler options).

The Compiler uses the verbose error file format to write the Compiler messages (errors, warnings, information messages).

This option changes the default format from the verbose format (with source, line and column information) to the Microsoft format (only line information).

Note: Using the Microsoft format may speed up the compilation because the compiler has to write less information to the screen.
Example

See the following listing for examples showing the differing message formats.

Listing: Message file formats (interactive mode)


void foo(void) { 
 int i, j; 
 for(i=0;i<1;i++); 
} 
The Compiler may produce the following error output in the Compiler window if it is running in interactive mode: 
Top: X:\C.C 
Object File: X:\C.O 
>> in "X:\C.C", line 3, col 2, pos 33 
 int i, j; 
 for(i=0;i<1;i++); 
 ^ 
INFORMATION C2901: Unrolling loop 
Setting the format to Microsoft, less information is displayed: 
-WmsgFim 
Top: X:\C.C 
Object File: X:\C.O 
X:\C.C(3): INFORMATION C2901: Unrolling loop 
See also

ERRORFILE: Error filename Specification

-WmsgFb (-WmsgFbi, -WmsgFbm): Set Message File Format for Batch Mode