C++ Compiler Warnings
Go Up to C++ Compiler
Project > Options > Building > C++ Compiler > Warnings
Use this dialog box to set C++ compiler warning options.
| Options | Description |
|---|---|
|
Target, Apply, Save |
See Target Options. |
|
Common items |
| Warnings Options | Description | Compiler switches | ||||||
|---|---|---|---|---|---|---|---|---|
| bcc32 | bcc32c | bcc64 | bccosx | bcciosarm | bcciosarm64 | bccaarm | ||
|
Disable all warnings |
Disables all warning and error messages. Default = False |
-w- |
-w- |
-w |
-w- |
-w |
-w |
-w |
|
Enable all warnings |
Displays all warning and error messages. Default = False |
-w |
-Weverything |
-Weverything |
-w |
-Weverything |
-Weverything |
-Weverything |
|
Enable selected warnings |
Enables only the warning that are set to True. C++ Warning messages are described in Compiler Errors And Warnings (C++) Index. Default = True |
-w<warning code> |
Platform not supported |
Platform not supported |
-w<warning code> |
Platform not supported |
Platform not supported |
Platform not supported |
|
Treat warnings as errors |
Instructs the compiler to stop compilation and return an error message when an enabled warning is generated. Default = False |
-w! |
-Werror |
-Werror |
-w! |
-Werror |
-Werror |
-Werror |
See Also
- Compiler Errors And Warnings (C++) Index
- C++ (Shared Options)
- BCC32, the C++ Compiler for 32-bit Windows
- BCC32C
- BCC64, the C++ Compiler for 64-bit Windows
- BCCOSX, the C++ Compiler for OS X
- BCCIOSARM, the C++ Compiler for the 32-bit iOS Device
- BCCIOSARM64, the C++ Compiler for the 64-bit iOS Device
- BCCAARM, the C++ Compiler for Android