Visible to Intel only — GUID: GUID-AB6C9F57-1851-4905-8860-7BACFD84CBFA
Visible to Intel only — GUID: GUID-AB6C9F57-1851-4905-8860-7BACFD84CBFA
Wsign-compare
Determines whether warnings are issued when a comparison between signed and unsigned values could produce an incorrect result when the signed value is converted to unsigned.
Syntax
Linux: |
-Wsign-compare -Wno-sign-compare |
macOS: |
-Wsign-compare -Wno-sign-compare |
Windows: |
None |
Arguments
None
Default
-Wno-sign-compare |
The compiler does not issue these warnings |
Description
This option determines whether warnings are issued when a comparison between signed and unsigned values could produce an incorrect result when the signed value is converted to unsigned.
On Linux* systems, this option is provided for compatibility with gcc.
IDE Equivalent
Alternate Options
None