[Interest] How do you want to select exactly C++11 with GCC 6+?

Thiago Macieira thiago.macieira at intel.com
Fri Mar 10 00:18:46 CET 2017


On quinta-feira, 9 de março de 2017 18:12:57 CET Sérgio Martins wrote:
> On Thu, Mar 9, 2017 at 1:13 PM, Thiago Macieira
> > 1) is there a need for qmake to provide a way to select *exactly* C++11,
> > not a later, available version?
> 
> I wouldn't worry much about it, aren't C++11 and C++14 ABI compatible ?

Yes.

> If there's some implementation where this is an issue then qmake
> should provide an obscure way to workaround and not through CONFIG.

Right. I'm trying to figure out if I need to worry about this at all.

In other words, for people who already have in their .pro files:
	CONFIG += c++11

is it acceptable to enable C++14 instead?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list