Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2015 18:24:38 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        marino@freebsd.org
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Dmitry Marakasov <amdmi3@amdmi3.ru>, ports-committers@freebsd.org
Subject:   Re: svn commit: r383466 - in head/x11-toolkits/wxgtk30: . files
Message-ID:  <20150410182438.GA14746@FreeBSD.org>
In-Reply-To: <55281352.6060904@marino.st>
References:  <201504061849.t36InrtY095320@svn.freebsd.org> <20150410174533.GB77333@hades.panopticon> <55281352.6060904@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 10, 2015 at 08:15:46PM +0200, John Marino wrote:
> On 4/10/2015 19:45, Dmitry Marakasov wrote:
> > * John Marino (marino@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.



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