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 | bcciosarm64 | bccaarm | |||
|
Disable all warnings |
Disables all warning and error messages. Default = False |
-w- |
-w- |
-w |
-w |
-w | |
|
Enable all warnings |
Displays all warning and error messages. Default = False |
-w |
-Weverything |
-Weverything |
-Weverything |
-Weverything | |
|
Enable selected warnings |
Enables only the warning that is 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 |
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 |
-Werror |
-Werror | |