Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-6036E8A3-EE04-4718-9A13-E08A9E158EEE
Visible to Intel only — GUID: GUID-6036E8A3-EE04-4718-9A13-E08A9E158EEE
GS
Tells the compiler to provide full stack security level checking.
Syntax
Linux: |
None |
Windows: |
/GS /GS- |
Arguments
None
Default
/GS- |
The compiler does not detect buffer overruns. |
Description
This option tells the compiler to provide full stack security level checking.
This option has been added for Microsoft compatibility. For more details about option /GS, see the Microsoft documentation.
IDE Equivalent
Visual Studio: Code Generation > Security Check
Eclipse: None
Alternate Options
SYCL: None
C++: Linux: -fstack-security-check
C++: Windows: None