ldc2 and dmd
Johan Engelen
j at j.nl
Tue May 22 18:30:23 UTC 2018
On Tuesday, 22 May 2018 at 16:17:48 UTC, Russel Winder wrote:
> Hi,
>
> I have a shared object (of DInotify) compiled with ldc2.
>
> I have a program (me-tv) which seems to work when compiled with
> ldc2.
>
> If I compile the program (me-tv) with dmd then it throws a
> SIGSEGV seemingly
> in
>
> _D3std4file15DirIteratorImpl5frontMFNdNfZSQBoQBn8DirEntry
>
> in DInotify. Is this what I should expect?
LDC and DMD are ABI incompatible. Also, different compiler
versions of the same vendor are ABI incompatible (sometimes they
are compatible).
Things may or may not work when different pieces of the program
are compiled with a different compiler (which is what you are
doing here).
- Johan
More information about the Digitalmars-d-learn
mailing list