Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 04:45:21 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r479222 - in head/devel: boost-all boost-libs boost-python-libs
Message-ID:  <20180910044521.GA90644@FreeBSD.org>
In-Reply-To: <201809080053.w880rArT081869@repo.freebsd.org>
References:  <201809080053.w880rArT081869@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 08, 2018 at 12:53:10AM +0000, Jan Beich wrote:
> New Revision: 479222
> URL: https://svnweb.freebsd.org/changeset/ports/479222
> 
> Log:
>   devel/boost-all: switch to C++17 on FreeBSD >= 11.2

Why?

> +# XXX Drop conditional after 10.4 EOL as both libstdc++ 7 and libc++ 6
> +#     have near complete C++17 support.
> +.if exists(/usr/lib/libstdc++.so) || exists(/usr/include/c++/v1/__undef_macros)
> +USES+=		compiler:c++17-lang
> +USE_CXXSTD=	gnu++17
> +.else
>  USES+=		compiler:c++14-lang
>  USE_CXXSTD=	gnu++14
> +.endif

Shouldn't things like Boost use the least supported version by default?

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180910044521.GA90644>