On Thu, March 9, 2017 14:13, Thiago Macieira wrote:
> 1) is there a need for qmake to provide a way to select *exactly* C++11,
> not a
> later, available version?

I don't see it. If I wanted to do compiler behavior tests I'd either not
use qmake or use a more specific command like:

QMAKE_CXXFLAGS += -std=c++11

(in full knowledge of the risks of course...)

> 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)

Both feel kind of wrong to me:

CONFIG += c++11 feels more like "give me at least C++ 11 or newer"

CONFIG -= c++14 feels like "give me whatever predates C++ 14, even if it
is C++ 98" or simply "I'm a hillbilly, disable those newfangled C++ 14
features!"



    Konrad

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to