pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libreoffice build problem
Marc Baudoin <babafou%babafou.eu.org@localhost> writes:
> Close to this, it has been almost three months that one of its
> dependencies, graphics/zxing-cpp, fails to compile :
>
> It would be nice if the build on NetBSD/amd64 10.1 could be
> fixed (does it need a specific compiler?).
Upstream README and CMakeLists both say it needs c++20. Marking the
package as such led to building on netbsd-10 amd64.
We don't ask for specific gcc versions, as that's an abstraction
violation. Instead there is USE_CXX_FEATURES+=c++20 which declares that
the package needs a compiler capable of c++20, and then mk/compiler*
arranges for that. gcc12 in this case.
It worked on 11 because it has gcc12 in base.
It seems gcc10 accepts --std=c++20 but doesn't really implement the full
spec. (This is pretty typical of gcc and early adoption dialects.)
So pkgsrc-current should work for you.
Home |
Main Index |
Thread Index |
Old Index