tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: conflicting libstdc++?



On Sun, 8 Mar 2015 23:07:49 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> > .include "../../mk/compiler.mk"
> > .if !empty(CC_VERSION:Mgcc-4.[05]*)
> > CXXFLAGS+=	-Dnullptr=0
> > .endif
> 
> Depending on how nullptr is used, that's just broken. Consider passing
> it to variadic functions.

Obviously nullptr is not intended to be a literal NULL pointer but
if it works in practice in this leaf package and the test suite doesn't
show any ill effects I don't see the problem.

-Tobias


Home | Main Index | Thread Index | Old Index