[ros-dev] [ros-diffs] [sir_richard] 45223
Ros Arm
ros.arm at reactos.org
Sun Jan 24 03:39:21 CET 2010
> > Since __builtin_unreachable is only for GCC 4.5, we use
> > exit(0) for now (it will never be reached) to trick GCC.
>
> There is also __builtin_trap() …
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
Aha, cool!
What seems to be the problem that caused the need for a revert? Can't we simply define NORETURN as attribute(noreturn) in nt+windef.h and then leave the built_intrap/unreachable hack in trap_x.h?
-r
More information about the Ros-dev
mailing list