tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: c++11



On Thu, Nov 03, 2016 at 01:56:20PM +0100, Thomas Klausner wrote:
> Shouldn't we rather add support to USE_LANGUAGES like this:
> 
> USE_LANGUAGES+=	c++11
> 
> and make bsd.pkg.mk set CXXFLAGS and request a good-enough compiler?

The real problem is that it doesn't solve the problem of mixing runtime
libraries. In the GCC of GCC 5.1+, you even end up with broken ABI
differences when using -std=c++11 vs not.

Joerg


Home | Main Index | Thread Index | Old Index