C++ Compiler Warnings
Go Up to C++ Compiler Project Options
Project > Options > 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 | bcc64 | bccosx | ||
|
Disable all warnings |
Disables all warning and error messages. Default = False |
-w- |
-w |
-w- |
|
Enable all warnings |
Displays all warning and error messages. Default = False |
-w |
-Weverything |
-w |
|
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 |
-w<warning code> |
|
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 |
-w! |