tech-pkg archive

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

Re: Add c++11 to USE_LANGUAGES



On Thu, Apr 13, 2017 at 04:05:53PM +0100, Sevan Janiyan wrote:
> We're starting to see applications which specifically need a compiler
> with C++ 11 support in order to build correctly e.g. textproc/icu &
> net/powerdns-recursor.
> 
> The patch below adds a minimal set of changes similar to the c99 option
> which results in GCC_REQD being set to 4.8 & -std=c++11 being handled by
> the wrapppers.
> 
> http://www.netbsd.org/~sevan/patch-pkgsrc-cplusplus11.txt
> 
> Any comments?

As I said the last time this was brought up -- I don't think this
actually solves the problem and in many cases will make it much worse.
I.e. it is much easier with this change to end up with a mix of
different C++ compilers and all the associated major problems.

Joerg


Home | Main Index | Thread Index | Old Index