[Interest] How do you want to select exactly C++11 with GCC 6+?
Viktor Engelmann
viktor.engelmann at qt.io
Thu Mar 9 14:24:13 CET 2017
I'd prefer option I, because saying "I want X" feels more precise and to
the point than "I don't want Y". In a restaurant, you don't order "not
fish", do you?
On 09.03.2017 14:13, 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.
--
Viktor Engelmann
Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
Viktor.Engelmann at qt.io
+49 151 26784521
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Interest
mailing list