MESSAGES
Compilation Unit
-WmsgFb[v|m]
v: Verbose format
m: Microsoft format
-WmsgFbm
None
None
Use this option to start the Compiler with additional arguments (for example, files and Compiler options). If you start the Compiler with arguments (for example, from the Make Tool or with the `%f' argument from the CodeWright IDE), the Compiler compiles the files in a batch mode. No Compiler window is visible and the Compiler terminates after job completion.
When compiling in batch mode, the Compiler writes messages to a file instead of to the screen. This file contains only the compiler messages (refer examples below).
In batch mode, the Compiler writes messages (errors, warnings, information messages) using a Microsoft message format.
The v argument changes the default format from the Microsoft format (only line information) to a more verbose error format with line, column, and source information.
void myfun(void) {
int i, j;
for(i=0;i<1;i++);
}
The Compiler may produce the following file if it is running in batch mode (for example, started from the Make tool):
X:\C.C(3): INFORMATION C2901: Unrolling loop
X:\C.C(2): INFORMATION C5702: j: declared in function myfun but not referenced
Setting the format to verbose stores more information in the file:
-WmsgFbv
>> in "X:\C.C", line 3, col 2, pos 33
int i, j;
for(i=0;i<1;i++);
^
INFORMATION C2901: Unrolling loop
>> in "X:\C.C", line 2, col 10, pos 28
void myfun(void) {
int i, j;
^
INFORMATION C5702: j: declared in function myfun but not referenced
ERRORFILE: Error Filename Specification environment variable
-WmsgFi (-WmsgFiv, -WmsgFim): Set Message Format for Interactive Mode