Linking C++ standard library works with GDC... but not DMD. (Linux)
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Apr 16 05:39:09 PDT 2015
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.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list