-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

This option sets the Compiler message format to interactive mode (that is, with a visible window) if the Compiler starts without additional arguments (for example, files and Compiler options).

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

The m argument changes the format from the default verbose format (with source, line and column information) to the Microsoft format (only line information).

Note: Using the Microsoft format may increase compilation speed.
Example
  void myfun(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 (-WmsgFbv, -WmsgFbm): Set Message File Format for Batch Mode