> > 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
> [email protected]
> 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


_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to