[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Add c++11 to USE_LANGUAGES
On 14/04/2017 00:17, Greg Troxel wrote:
> So, we could make c++ require 4.8, and c++11 require 4.8 and add
> --std=c++11, and punt on c++14 for now.
> I am curious what you think of that (plus anyone else with suggestions
> and accompanying rationale as to which of the suboptimal choices we
> should make).
> I am also curious if other packaging systems have useful approaches we
> can learn from.
Pointing grep at the tree, I found
Packages setting GCC_REQD=
(ignoring those below 4.8)
4.8 - 27 - various
4.9 - 3 - net/filezilla, net/libfilezilla, audio/musicpd
5.3 - 1 - games/mame
6.2 - 1 - cross/h8300-elf-gcc
Packages explicitly setting std=
c++14 - 1 - devel/boost-jam
gnu++14 - 0
c++11 - ~91 (a couple setting std=c++11 outside of the Makefile)
gnu++11 - 4 - databases/soci, net/zeromq, sysutils/open-vm-tools, www/cppcms
I would prefer to be forward looking & settle on 4.9 instead, then add
the necessary logic to set std to c++11 or 14 depending (4.9 featured
the introduction of c++14 support). However I don't feel strongly about
it, am I right in thinking that the choice of 4.8 is for the benefit of
netbsd-7 users? (4.7 featured the introduction of c++11 support).
Main Index |
Thread Index |