fl.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Enabling and Disabling Stack Probes (/Ge, /Gs)
                                             Up Contents Index Back
─────Enabling and Disabling Stack Probes (/Ge, /Gs)─────────────────────────
 
     The /Ge and /Gs options control stack probes.
 
     Option     Effect
 
     /Ge        Enables stack probes
 
     /Gs        Disables stack probes
 
     Default: /Gs
 
     A stack probe is a short subroutine that verifies that the stack
     has enough space for any automatic local variables. When stack
     probes are enabled, the stack probe is automatically called at
     every entry point. The stack-probe subroutine generates a message
     and ends the program if it determines that the required stack
     space is not available.
 
     Note that programs with stack checking are slightly larger and
     may perform less efficiently. Stack probes can be used during
     development, then removed from the final version of the program.
 
     The /G options apply to all source files that follow the option on
     the command line.
                                    -♦-