Adding noreturn and hidefromvtls attributes

2013-01-11 Thread Chaiomanot
. Such as: extern(C) __thread __hidefromvtls int errno; A working implementation of both is here: https://github.com/Chaiomanot/dmd Appolgies if this isn't the right place to post this, I couldn't find a suggestions forum.

Re: Adding noreturn and hidefromvtls attributes

2013-01-11 Thread Chaiomanot
If your patch enforcing that a function tagged with noreturn does not return (so core.stdc.stdlib.exit must be tagged with noreturn)? It isn't currently compulsory. Any noreturn function will still compile without the attribute. If adopted, it would of course be prudent to make stdlib.exit