Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

See Also