mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:26:02 +00:00
[PSEH3]
And while we're at it, disable -Wshadow where it's required svn path=/trunk/; revision=63167
This commit is contained in:
parent
6c45081356
commit
2ed05c2f8f
1 changed files with 3 additions and 0 deletions
|
@ -283,10 +283,13 @@ _SEH3$_AutoCleanup(
|
|||
#define _SEH3$_DEFINE_FILTER_FUNC(_Name, expression) \
|
||||
_SEH3$_NESTED_FUNC_OPEN(_Name) \
|
||||
/* Declare the intrinsics for exception filters */ \
|
||||
_Pragma("GCC diagnostic push") \
|
||||
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \
|
||||
inline __attribute__((always_inline, gnu_inline)) \
|
||||
unsigned long _exception_code() { return _SEH3$_TrylevelFrame.ExceptionPointers->ExceptionRecord->ExceptionCode; } \
|
||||
inline __attribute__((always_inline, gnu_inline)) \
|
||||
void * _exception_info() { return _SEH3$_TrylevelFrame.ExceptionPointers; } \
|
||||
_Pragma("GCC diagnostic pop") \
|
||||
\
|
||||
/* Now handle the actual filter expression */ \
|
||||
return (expression); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue