Export (0) Print
Expand All
Expand Minimize

/WL - Enable One-Line Diagnostics (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This option enables additional information about error and warning messages from the C++ compiler that appears, by default, on a new line.

/WL

Remarks

When you compile from the command line, the additional line of information can be appended to the error or warning message. This might be desirable if you capture your build output to a log file and then process that log to find all errors and warnings. A semicolon will separate the error or warning message from the additional line.

Not all error and warning messages have an additional line of information. The following code will generate Compiler Error C2440 with an additional line of information; it will let you test the effect when you use /WL.

void func1()
{
   int *p;
   char *q;
   p = q;      // Conversion error
}
main(){
}

See Also

Compiler Options


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft