pkgsrc-Users archive

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

Re: mkvtoolnix requires C++14 instead of C++11



On Sat 07 Oct 2017 at 23:32:04 +0200, Joerg Sonnenberger wrote:
> On Sat, Oct 07, 2017 at 11:23:34PM +0200, Rhialto wrote:
> > On Sat 07 Oct 2017 at 23:13:14 +0200, Joerg Sonnenberger wrote:
> > > On Sat, Oct 07, 2017 at 11:05:42PM +0200, Rhialto wrote:
> > > > But I have gcc 4.9 installed, but apparently that is not sufficient (see
> > > > original message for how it fails if I change c++11 into c++14).
> > > 
> > > Have you also set GCC_REQD?
> > 
> > Ah, thanks, that helps.
> > I remember reading a long discussion about one implying the other or
> > something, but that's apparently not yet in the stable branch.
> > (It has been a while since I last had the chance to build any packages;
> > I'm catching up now)
> 
> It should not, you have to set GCC_REQD in advance to get consistent
> results. Remember, you can't mix and match GCC versions.

Yes indeed, that makes sense. But I notice that www/firefox also sets
GCC_REQD in its Makefile. The goal hasn't been perfectly reached yet.
Maybe, there should be a check somewhere if a Makefile wants a higher
gcc version than was set globally. Or something.

> Joerg
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index