Visible to Intel only — GUID: GUID-5197A8DF-179F-4FD4-B8FD-FA9DEF0CC6E5
Visible to Intel only — GUID: GUID-5197A8DF-179F-4FD4-B8FD-FA9DEF0CC6E5
Wformat-security
Determines whether the compiler issues a warning when the use of format functions may cause security problems.
Syntax
Linux: |
-Wformat-security -Wno-format-security |
Windows: |
/Wformat-security /Wno-format-security |
Arguments
None
Default
Wno-format-security |
No warning is issued when the use of format functions may cause security problems. |
Description
This option determines whether the compiler issues a warning when the use of format functions may cause security problems.
When Wformat-security is specified, it warns about uses of format functions where the format string is not a string literal and there are no format arguments.
IDE Equivalent
Alternate Options
None