Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with LDC #90

Closed
chances opened this issue Dec 18, 2021 · 2 comments
Closed

Compilation error with LDC #90

chances opened this issue Dec 18, 2021 · 2 comments

Comments

@chances
Copy link

chances commented Dec 18, 2021

Tracking etcimon/memutils#19:

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))?

Switching to memutils~master results in this error in libasync:

../../../../.dub/packages/libasync-master/libasync/source/libasync/internals/memory.d(17,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))?

See #91.
See also #92.

@cyrusmsk
Copy link
Contributor

cyrusmsk commented Apr 27, 2022

Thank you @chances

I am not very professional user of GitHub - so I have no idea why your PR didn't pass the tests, but it helps me to build and run lighttp with steps below:

  • build memutils from ~master
  • set add-local with version 1.0.4 in dub (it is very sad that the installation from github and branches are prohibited)
  • download chances/libasync branch "fix-signal"
  • set add-local with version 8.6.0
  • dub build/dub run with dependency lighttp

@chances
Copy link
Author

chances commented Apr 27, 2022

Ping @etcimon

@etcimon etcimon closed this as completed Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants