svn commit: r383466 - in head/x11-toolkits/wxgtk30: . files

Alexey Dokuchaev danfe at FreeBSD.org
Sun Apr 12 12:15:09 UTC 2015


On Sun, Apr 12, 2015 at 03:09:00PM +0300, Dmitry Marakasov wrote:
> * John Marino (freebsd.contact at 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


More information about the svn-ports-head mailing list