Skip to content

Compiling from master / 0.8.2 dosnt work #1

@Mai-Lapyst

Description

@Mai-Lapyst

When compiling the dom-ts example:

    Starting Performing "debug" build using ldc2 for .
    Building memutils-wasm ~master: building configuration [secure]
../../memutils/source/memutils/helpers.d(267,21): Error: `void` does not have a default initializer
../../memutils/source/memutils/vector.d(151,20): Error: template instance `memutils.helpers.initializeAll!(void delegate() nothrow @trusted[])` error instantiating
../../memutils/source/memutils/pool.d(29,3):        instantiated from here: `Vector!(void delegate() nothrow @trusted, ThreadMem)`
../../memutils/source/memutils/scoped.d(221,14):        instantiated from here: `PoolAllocator!(AutoFreeListAllocator!(MallocAllocator))`
../../memutils/source/memutils/refcounted.d(29,54): Error: template instance `memutils.utils.ObjectAllocator!(PoolAllocator!(AutoFreeListAllocator!(MallocAllocator)), ThreadMem).ObjectAllocator.alloc!()` error instantiating
../../memutils/source/memutils/refcounted.d(210,29):        instantiated from here: `opCall!()`
../../memutils/source/memutils/scoped.d(217,21):        instantiated from here: `RefCounted!(PoolAllocator!(AutoFreeListAllocator!(MallocAllocator)), ThreadMem)`
../../memutils/source/memutils/refcounted.d(12,2): Error: mixin `memutils.refcounted.RefCounted!(PoolAllocator!(AutoFreeListAllocator!(MallocAllocator)), ThreadMem).RefCounted.Embed!(m_object, false)` error instantiating
Error ldc2 failed with exit code 1.

dub --version: direct from master; DUB version 1.39.0-beta.1, built on Oct 12 2024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions