What about wrapping the _SEH_TRY part in a local inline function? In my tests this successfully prevented the variables from being optimized away. At least under normal optimisation settings.
_SEH_TRY { void inline tryblock() { ... } tryblock(); } ...
KJK::Hyperion schrieb:
Alex Ionescu ha scritto:
If something is happening to these flags, PSEH should be fixed -- not making every flag in the source base a volatile.
PSEH is based setjmp/longjmp, some local variables WILL be reset when an exception is caught and they MUST be marked as "volatile". I documented this a long time ago _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev