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

Don Lewis truckman at FreeBSD.org
Sun Apr 12 20:24:19 UTC 2015


On 12 Apr, Alexey Dokuchaev wrote:
> 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.

Our copy of gcc42 in base doesn't claim to support anything newer than
c++98.  This is what I get when I print ${COMPILER_FEATURES}:
	libstdc++ c89 c99 gnu89 gnu99 c++98 gnu++98



More information about the svn-ports-all mailing list