huge stack of __dmd_personality_v0 when static libraries are used.
Basile B. via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Jun 1 11:27:12 PDT 2016
On Wednesday, 1 June 2016 at 17:18:01 UTC, David Nadlinger wrote:
> [...] but one must have slipped through the cracks. LDC does
> not emit those symbols.
> — David
Yes it was that. Libraries were well compiled with LDC but some
previous objects made with DMD had to be removed.
However I've encountered two weird issues.
- Some invalid imports were not detected by DMD but they blocked
- The "__init" of a structure was undefined and I had to prevent
initialization with "Stuff stuff = void;". I had no problem with
this using DMD.
The first point is maybe more a problem with an
old-fashioned/obsolete deimos library. The second is quite
kheops.canvas.Canvas.textSize(immutable(char))[std.typecons.Tuple!(double, double).Tuple kheops.canvas.Canvas.textSize(immutable(char))]+0x1c): rÃ©fÃ©rence indÃ©finie vers Â« deimos.cairo.cairo.cairo_text_extents_t.__init Â»"
Is it possible that LDC does not emit the
"cairo_text_extents_t"'s initializer for a reason or another ?
More information about the digitalmars-d-ldc