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 2 (/W2)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Warning Levels determine the type of warning messages the compiler
     produces.
 
                  ┌────────────── Level 2 ───────────────┐
     Level 0    │  Displays intermediate-level         │
     Level 1    │  warning messages. These messages    │
     Level 2    │  may or may not indicate serious     │
     Level 3    │  problems. Level 1 warnings are      │
     Level 4    │  also displayed. The command-line    │
     Level 5    │  equivalent is /W2.                  │
                  └──────────────────────────────────────┘
                                    -♦-