[ros-dev] [ros-diffs] [hyperion] 41564: Don't want to fix all uses of PSEH2 macros, therefore have some curly braces, everyone

KJK::Hyperion hackbunny at reactos.org
Tue Jun 23 12:08:09 CEST 2009


Timo Kreuzer wrote:
> Can you explain what's broken with the current usage? Maybe we can avoid
> it in the future / fix current usage bit by bit?

it's not that important. Sometimes in ReactOS we use:

_SEH2_TRY
{
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
    // note lack of braces here
_SEH2_END;

which would be translated into:

__try
{
}
__except(EXCEPTION_EXECUTE_HANDLER)
; // WTFBBQ?!!1!

If you or anyone else want to fix it, it's fine by me


More information about the Ros-dev mailing list