[Development] Removing the -c++11 option from configure

Thiago Macieira thiago.macieira at intel.com
Tue Mar 24 19:12:41 CET 2015


On Tuesday 24 March 2015 13:38:54 Matthew Woehlke wrote:
> Option 2: Use the highest available language level support. The drawback
> is that if your compiler supports C++xy, Qt will be built in C++xy mode
> *with no way to force a different mode*.
> 
> 
> Thiago is proposing Option 2. In particular, the emphasized drawback;
> what is being removed is the ability to *prevent* Qt from enabling C++11
> / C++14 mode if the compiler supports such a mode. It does *not* mean
> that Qt as a whole will require C++14. I think where the confusion is
> occurring is that there is an implicit "where supported by the compiler"
> in "enabled by default". C++11 / C++14 will be enabled (by default /
> unconditionally) *on compilers that support those modes*. We're not
> talking about dropping support for pre-C++11/14 compilers, just dropping
> the ability to not make use of the same if it is present.
> 
> Hopefully that helps clear things up...

Thanks Matthew, that's what I meant.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list