memutils
memutils copied to clipboard
Compilation error with LDC
Compilation error with LDC 1.27.0-beta3:
memutils-1.0.4\memutils\source\memutils\allocators.d(18,8): Error: module std.exception import enforceEx not found, did you mean template std.exception.enforce(E : Throwable = Exception) if (is(typeof(new E("", string.init, size_t.init)) : Throwable) || is(typeof(new E(string.init, size_t.init)) : Throwable))?
UPD: With DMD v2.097.1-dirty the same error.
I've reproduced this error via LDC 1.28.0 based on DMD v2.098.0 and LLVM 12.0.1
However, it seems this issue is resolved on the master branch.
enforceEx has been removed from the standard library: https://dlang.org/changelog/2.097.0.html#std-exception
I see that the code is already fixed. Could you please tag a new release? This error prevents botan from building.