pyd icon indicating copy to clipboard operation
pyd copied to clipboard

Doesn't build with dmd 2.087.0

Open John-Colvin opened this issue 6 years ago • 4 comments
trafficstars

 ~/Git/pyd (git)-[master] % dub build
Performing "debug" build using /home/john/dlang/dmd-2.087.0/linux/bin64/dmd for x86_64.
pyd 0.10.4+commit.8.gd21f7c3: building configuration "python27"...
infrastructure/util/multi_index.d(4905,5): Error: class allocators are obsolete, consider moving the allocation strategy outside of the class
infrastructure/util/multi_index.d(4909,5): Error: class deallocators are obsolete, consider moving the deallocation strategy outside of the class
infrastructure/util/multi_index.d(4042,5): Error: class allocators are obsolete, consider moving the allocation strategy outside of the class
infrastructure/util/multi_index.d(4046,5): Error: class deallocators are obsolete, consider moving the deallocation strategy outside of the class
infrastructure/util/multi_index.d(3551,26): Error: template instance `util.multi_index.Position!(MNode!(MultiIndexContainer!(Thread, IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z), MallocAllocator, MutableView), IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z), MallocAllocator, Inner!(IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z)), Thread, Thread))` error instantiating
infrastructure/pyd/thread.d(31,19):        instantiated from here: MultiIndexContainer!(Thread, IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z), MallocAllocator, MutableView)
infrastructure/util/multi_index.d-mixin-4978(4981,21): Error: mixin `util.multi_index.MultiIndexContainer!(Thread, IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z), MallocAllocator, MutableView).MultiIndexContainer.IndexMixin!(0LU, "a", "typeid(a).getHash(&a)", "a==b", false, SequencedRange, MultiIndexContainer!(Thread, IndexedBy!(__T6HashedVbi0VAyaa1_61VQja21_7479706569642861292e6765744861736828266129VQCga4_613d3d62Z), MallocAllocator, MutableView))` error instantiating
/home/john/dlang/dmd-2.087.0/linux/bin64/dmd failed with exit code 1.

John-Colvin avatar Jul 05 '19 08:07 John-Colvin

after removing the allocators from the code dmd dies on me.

burner avatar Jul 16 '19 12:07 burner

https://issues.dlang.org/show_bug.cgi?id=20056

John-Colvin avatar Jul 16 '19 12:07 John-Colvin

a fix has been already pulled into dmd-stable

burner avatar Jul 17 '19 07:07 burner

https://github.com/ariovistus/pyd/pull/116

burner avatar Jul 23 '19 15:07 burner