[Issue 14956] C++ Mangling incompatible with C++11

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Nov 7 09:12:55 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14956

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Jacob Carlborg from comment #5)
> (In reply to Iain Buclaw from comment #4)
> 
> > Which leaves us with the question, how do figure out whether to use version
> > condition branch A or B?
> 
> The user specifies the appropriate version flag. Or the compiler need a new
> flag for this.


Well, so far, apart from the testsuite, is there any other place this is
necessary?  Probably not.  We don't maintain a core.stdcxx library, thank
goodness.  And those who wish to use bindings to C++ std, then they can make
the change in their code and provide some user defined version to select one or
the other.

I've only found one bug that prevents this.  I've raised a PR for that.

https://github.com/D-Programming-Language/dmd/pull/5261

--


More information about the Digitalmars-d-bugs mailing list