How do you turn on/off stacking checking in your code with GNU (was #pragma
off(check_stack) in Watcom). Is stack checking enabled by default (using
cc)?
Thanks
Markus
Markus Loffler <loffler@ces.clemson.edu> wrote:
How do you turn on/off stacking checking in your code with GNU (was #pragma
off(check_stack) in Watcom). Is stack checking enabled by default (using
cc)?
Thanks
Markus
-fstack-checking
It’s not on by default. It doesn’t appear to do the same as the Watcom
functions - ie I think it will just generate a fault.