JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
The compiler was not invoked in a mode where warnings are treated as errors.
| Class Name | Warnings Not Treated As Errors | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Significance | style | |||||||||||||||||||||||||||||||||
| Mnemonic | BUILD.WERROR | |||||||||||||||||||||||||||||||||
| Categories |
|
|||||||||||||||||||||||||||||||||
| Availability | Available for C and C++. |
|||||||||||||||||||||||||||||||||
| Enabling | Checks for this warning class are
disabled by default. To enable them, add the following WARNING_FILTER
rule to the project configuration file.
WARNING_FILTER += allow class="Warnings Not Treated As Errors" |
// Warning issued here at the beginning of the file because -Werror // was not used on the compilation command line.
This warning is compatible with the Gnu Compiler Collection C/C++ compiler gcc and the Microsoft C/C++ compiler cl. It looks at the command lines passed to the compiler invocations.
For gcc the warning is issued if:
For cl the warning is issued if:
A Warning Report for a warning of this class will provide a link to the relevant Parse Details Log. This logging information is available when configuration parameters SEND_HOOK_LOG_TO_HUB and SEND_PARSE_LOG_TO_HUB are both set to Yes (this is their factory setting). If you have set one or both to No, there will be no Parse Details Log and so the link will lead to a page reporting that the log was not found. The warning itself is not affected by the settings of these parameters.
The following configuration file parameters affect checks for this warning class.
To report problems with this documentation, please visit https://support.codesecure.com/.