[Interest] How do you want to select exactly C++11 with GCC 6+?
Thiago Macieira
thiago.macieira at intel.com
Sun Mar 12 22:38:49 CET 2017
On quinta-feira, 9 de março de 2017 05:13:28 PDT Thiago Macieira wrote:
> This is a straw poll to see if we should change qmake's behaviour for Qt
> 5.9.
>
> GCC 6 and ICC 17, in the absence of -std= comipler options, default ot
> C++14. So I have two questions:
>
> 1) is there a need for qmake to provide a way to select *exactly* C++11, not
> a later, available version?
>
> 2) if the answer is "yes", how would you prefer to do so?
> option I: CONFIG += c++11
> option II: CONFIG -= c++14 (obviously disables later editions too)
>
> I want to first get just gut feeling, so I won't post pros and cons of the
> approaches.
Conclusion from this thread is that there is no consensus.
Therefore, I will do nothing and will leave the behaviour exactly as is. That
is, option I.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list