Umh, I'm certain you know that already, but obviously /GS or /GS- are command line options that are passed to the compiler driver (cl.exe) on the command line. You can always look these up in the index of MSDN Library to find the corresponding setting in the IDE.
So, it is nothing you would do in the source code.
Are you sure you mean /GS (and not /Gs) There's probably a corresponding pragma for the latter.
-hg
|