C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Warning Level 5 (/WX)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Warning Levels determine the type of warning messages the compiler
     produces.
 
                  ┌────────────── Level 5 ───────────────┐
     Level 0    │  Causes warnings to be treated like  │
     Level 1    │  errors. A warning causes the        │
     Level 2    │  compiler to generate a nonzero      │
     Level 3    │  return value. The command-line      │
     Level 4    │  equivalent is /WX.                  │
     Level 5    │                                      │
                  └──────────────────────────────────────┘
                                    -♦-