unable to fork: Cannot allocate memory / core.checkedint / gtkd

number putimalitze at gmx.de
Wed Feb 14 17:06:29 UTC 2018


On Tuesday, 13 February 2018 at 21:46:31 UTC, Stefan Koch wrote:
> On Tuesday, 13 February 2018 at 14:10:44 UTC, number wrote:
>> Ok, thanks for the info. I guess I'll just use printf then for 
>> larger enums.
>
> To get the same convince you can use.
> the enumToString from:
>
> https://forum.dlang.org/post/pnggoabnnkojdonyzybx@forum.dlang.org
>
> and writeln the result oft that.
> however it'll cause an error if there are two enum memebrs with 
> the same value.

Thanks!


More information about the Digitalmars-d-learn mailing list