|
Prev: The C++ standard's rule for selecting a constructor
Next: replacing sprintf_s in macro for compiler compatibility
From: Blind Anagram on 16 Apr 2008 09:32 I wonder if anyone here might know a bit more about structured exception handling (SEH) with VC++ than the Microsoft documentation provides. When the SEH function prologue is: push regs allocate stack space the required epilogue form is: add rsp, stack_space_amount pop regs ret or a similar form using LEA. The documentation implies that when the prologue is: push regs the epilogue has to be: add rsp, 0 pop regs ret Is this zero addition to rsp needed here? The Microsoft documentation implies that it is necessary but it doesn't explicitely say so. I would be most grateful if anyone here is able to clarify this. Brian |