On Thursday 28 of February 2013 14:21:08 Charles Forsyth wrote:
> ANSI C has a "_Noreturn" attribute that I started to implement,
> but I think I might fall back to a #pragma, which would be quicker to do.

another quick hack:

#define exit(status) do { exit(status); return 0; } while (0)

with do{}while() guarding against treating it as an expression.


-- 
dexen deVries

[[[↓][→]]]


Reply via email to