From owner-svn-ports-head@FreeBSD.ORG Fri Apr 10 19:15:36 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0C936C6; Fri, 10 Apr 2015 19:15:35 +0000 (UTC) Received: from vps.amdmi3.ru (vps.amdmi3.ru [109.234.38.216]) by mx1.freebsd.org (Postfix) with ESMTP id 9C610888; Fri, 10 Apr 2015 19:15:34 +0000 (UTC) Received: from hive.panopticon (unknown [213.148.20.85]) by vps.amdmi3.ru (Postfix) with ESMTPS id F0603B0622; Fri, 10 Apr 2015 22:15:32 +0300 (MSK) Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 3A3F847C; Fri, 10 Apr 2015 22:15:25 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 3D8C0A51B; Fri, 10 Apr 2015 22:15:28 +0300 (MSK) Date: Fri, 10 Apr 2015 22:15:28 +0300 From: Dmitry Marakasov To: Alexey Dokuchaev Subject: Re: svn commit: r383466 - in head/x11-toolkits/wxgtk30: . files Message-ID: <20150410191527.GC77333@hades.panopticon> References: <201504061849.t36InrtY095320@svn.freebsd.org> <20150410174533.GB77333@hades.panopticon> <55281352.6060904@marino.st> <20150410182438.GA14746@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150410182438.GA14746@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, marino@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 19:15:36 -0000 * Alexey Dokuchaev (danfe@FreeBSD.org) wrote: > > >> x11-toolkits/wxgtk30: Support c++11 over c++0x, plus DragonFly > > >> > > >> The wxgtk30 port will use TR1 headers if the capability is detected. > > >> These TR1 functions were experimental and not included in the same form > > >> in the final c++11 standard. This patch forcibly disabled TR1 support, > > >> which requires the explicit setting of -std=c++11 in CXXFLAGS> > > >> > > >> A private "exp-run" was performed, all 62 ports dependent on wxgtk2 > > >> successfully built before and after after the patch was applied on two > > >> separate runs (FreeBSD 10 amd64 jail). > > > > > > You should test on all supported FreeBSD branches and all tier1 > > > architectures. You've broken (all?) dependent ports on 8.x and 9.x. > > > > I had just finished a bulk build on DragonFly that uses gcc 4.7 and I > > see 15 failures through a rough grep log. I think it's caused by older > > clang/gcc using an older c++ std, while the latest versions are on > > -std=c++11. Adding this cxxflag will likely fix most of them (success > > with wxguitar, sooperlooper failed elsewhere) > > On the other hand, many of these dependent ports actually do not require > dreaded c++11 (or c++0x) support. It would be very unfortunate to force > it on all of them just because wxgtk30 guys do not know how to develop > software [1]. Can we bring wxgtk30 back to sanity, please? > > ./danfe > > [1] Forcing c++11 on a popular GUI toolkit in 2015 is bad beyond evil. It turns out that wxgtk is really tied to c++11: one of my ports fail with /usr/local/include/wx-3.0/wx/strvararg.h:350:13: error: 'is_enum' in namespace 'std' does not name a type typedef std::is_enum is_enum; is_enum is c++11 thing: http://en.cppreference.com/w/cpp/types/is_enum so there's no problem with the port and all claims should be redirected to upstream. There is a problem with c++11 incompatible consumers though, and I see at least 2 such ports now. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://amdmi3.ru