[Issue 14871] Linker errors with 2.068.0-rc1
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Aug 5 04:19:11 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14871
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at dawg.eu
--- Comment #3 from Martin Nowak <code at dawg.eu> ---
The issues is that you're not compiling the
std.experimental.allocator.building_blocks modules.
The fix is straightforward.
- containers/src/std/experimental/allocator/mallocator.d\
- containers/src/std/experimental/allocator/package.d\
- containers/src/std/experimental/allocator/common.d\
- containers/src/std/experimental/allocator/gc_allocator.d\
-
containers/src/std/experimental/allocator/building_blocks/allocator_list.d\
- containers/src/std/experimental/allocator/typed.d\
+ $(shell find containers/src/std/experimental/allocator -name "*.d")\
We fixed 2 regressions by using a simpler mechanism to emit helper functions.
Now this requires you to link against all modules you use, where previously you
could sometimes get away without linking.
https://github.com/D-Programming-Language/dmd/pull/4851
--
More information about the Digitalmars-d-bugs
mailing list