pkgsrc-Users archive

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

Re: firefox fails to build on netbsd-8 amd64



On Mon, Mar 30, 2020 at 06:08:51PM -0400, Greg Troxel wrote:
> Joerg Sonnenberger <joerg%bec.de@localhost> writes:
> 
> > On Fri, Mar 27, 2020 at 08:37:30PM -0400, Greg Troxel wrote:
> >> [style 0.0.1] /tmp/work/www/firefox/work/build/dist/include/mozilla/UniquePtr.h:223:39: error: no member named 'is_reference_v' in namespace 'std'
> >
> > This would be a C++17 addition. It is
> >     template <class T> inline constexpr bool is_lvalue_reference_v
> >         = is_lvalue_reference<T>::value;
> 
> Thanks for looking at this.
> 
> So:
> 
>   firefox needs a C++17 compiler
>   it needs patches to pass --std=c++17?
> 
> I tried with gcc7 and it still did not build.
> But maybe I need to build some prereqs with C++17 also?

It certainly needs a STL implementation that provides C++17, which the
GCC in netbsd 8 likely doesn't.

Joerg


Home | Main Index | Thread Index | Old Index