Visible to Intel only — GUID: GUID-A9D21716-4A9A-4428-9B4A-FDFE6741DEDE
Visible to Intel only — GUID: GUID-A9D21716-4A9A-4428-9B4A-FDFE6741DEDE
Wcheck-unicode-security
Determines whether the compiler performs source code checking for Unicode vulnerabilities.
Linux: |
-Wcheck-unicode-security -Wno-check-unicode-security |
Windows: |
/Wcheck-unicode-security /Wno-check-unicode-security |
None
Wno-check-unicode-security |
The compiler does not perform source code checking for Unicode vulnerabilities. |
This option determines whether the compiler performs source code checking for Unicode vulnerabilities.
Option Wcheck-unicode-security enables Unicode checking. The compiler will detect and warn about Unicode constructs that can be exploited by using bi-directional formatting codes, zero-width characters in strings, and use of zero-width characters and homoglyphs in identifiers.
Option Wno-check-unicode-security disables Unicode checking.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
Visual Studio: DPC++: DPC++ > Diagnostics > Check Unicode Security
C/C++: C/C++ > Diagnostics [Intel C++] > Check Unicode Security
Eclipse: DPC++: Intel(R) oneAPI DPC++ Compiler > Diagnostics > Check Unicode Security
C/C++: Intel C++ Compiler > Compilation Diagnostics > Check Unicode Security
None