Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 12:15:09 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, marino@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r383466 - in head/x11-toolkits/wxgtk30: . files
Message-ID:  <20150412121509.GA99970@FreeBSD.org>
In-Reply-To: <20150412120900.GH21982@hades.panopticon>
References:  <201504061849.t36InrtY095320@svn.freebsd.org> <20150410174533.GB77333@hades.panopticon> <55281352.6060904@marino.st> <20150412002519.GG21982@hades.panopticon> <552A0F83.10704@marino.st> <552A30CF.6060204@marino.st> <20150412120900.GH21982@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 12, 2015 at 03:09:00PM +0300, Dmitry Marakasov wrote:
> * John Marino (freebsd.contact@marino.st) wrote:
> > > I got a report py-wxPython30 broke too.
> > > So for those ports that break on 10 but build on < 10, it seems that
> > > gcc4.8+ is happy enough with the c++ code but clang isn't.
> > > 
> > > since these are using compiler:c++11-lib, it seems to me the only
> > > solution is to actually fix the c++ code.
> > > 
> > > Either that, or remove "compiler:c++11-lib" and set "USE_GCC" for
> > > freeBSD < 10.
> > > 
> > > Thoughts?
> > > 
> > > A prime example of why c++ sucks by the way.
> 
> Nothing like that. It's just that crappy incompatible code sucks,
> instead we could just use c++11 by default everywhere, which would
> automatically get us some performance gains.

Of course it sucks.  Do you know another comparably prominent example
when things breaking so spectacularly all over the place? :-)

If one must use C++ to develop e.g. a library intended to be used in
open-source projects, they really should stick to c++03 (and make sure
their code is fine by gcc42) for at least couple of years from now.

./danfe



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