errno is not nothrow

Steven Schveighoffer schveiguy at yahoo.com
Fri May 11 20:06:28 UTC 2018


On 5/11/18 3:58 PM, Jonathan M Davis wrote:

> I don't know why it wouldn't be working for you on Linux, and I
> don't have a Linux system to test with at the moment.
> 
> void main() nothrow @safe @nogc
> {
>      import core.stdc.errno;
>      errno = 1;
> }
> 
> works just fine on FreeBSD.

I think we need to wait for more details. As posted earlier in the 
thread, it does work on run.dlang.io which is Linux.

-Steve


More information about the Digitalmars-d mailing list