On Thursday, 16 April 2015 at 12:39:07 UTC, Jacob Carlborg wrote:
On 2015-04-16 11:56, Dicebot wrote:
Simple issue but unpleasant fix. You always must use C++
library that
matches base C++ compiler. For GDC it is GCC (which is used by
default).
For DMD it is DMC (Digital Mars C compiler). For LDC it is
whatever
Clang standard library is called. All those are incompatible
because
rely on different compiler built-ins.
The title says (Linux), where DMD uses GCC and not DMC.
Does DMD also use GCC conventions on Linux when compiling
extern(C++) code? I didn't know that.