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

  • ldc2 and dmd Russel Winder via Digitalmars-d-learn
    • Re: ldc2 and dmd Basile B. via Digitalmars-d-learn
    • Re: ldc2 and dmd Johan Engelen via Digitalmars-d-learn

Reply via email to