compiling dmd on linux

naryl cy at ngs.ru
Sat Mar 7 02:36:42 PST 2009


Walter Bright Wrote:

> naryl wrote:
> > Georg Wrede Wrote:
> >> Another thing, what about new.h?
> >> 
> >> I'm on Fedora 10, and I suspect new.h is deprecated.
> >> 
> >> $ grep -R "new\.h" * ph.c:#include	<new.h> tk/mem.c:#include
> >> <new.h>
> >> 
> > Latest Gentoo. new.h is nowhere to be found. IIRC it was part of the
> > libstdc++, which is kept only for compatibility reasons and only in
> > binaries.
> 
> What do they use instead?

Just replace <new.h> with <new> in addition to Georg's fixes. As a bonus dmd will not depend on ancient libstdc++ anymore.



More information about the Digitalmars-d mailing list