Monday, April 29, 2019

Re: [ports-gcc-8] Unbreak multimedia/libmp4v2

Charlene Wendling:

> > > src/cmeta.cpp:1386:16: error: converting to 'bool' from
> > > 'std::nullptr_t' requires direct-initialization [-fpermissive]
> > > return NULL;

If that's the only problem, then these could just be fixed by
changing them to "return false".

> > Again, it breaks because it wants C++<11.
>
> -.include <bsd.port.arch.mk>
> -.if ${PROPERTIES:Mclang}
> CXXFLAGS += -std=c++03
> -.endif

That really needs a #comment.

Now when I see a naked -std=c++*, I don't know if its purpose is/was
to switch an old compiler to a higher C++ standard, or to limit a
new compiler to an older standard.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment