[PATCH] Set -std=c++11 flag for g++
Thiago Macieira
thiago at macieira.org
Thu Jun 23 13:47:31 PDT 2016
On quinta-feira, 23 de junho de 2016 12:42:36 PDT Dirk Hohndel wrote:
> No, careful. I’m grudgingly accepting the fact that we need to compile with
> the -std=c++11 flag in order to build against Qt5.7. I am NOT ok with
> including C++11 features in the code. I’d prefer my code to be readable.
> Or to be more explicit - I don’t understand how the new features work, I
> can’t parse the syntax, and if there is one thing that I have learned over
> the past year it’s that I’m on my own when it comes to maintaining this.
> So code that I don’t understand is not welcome.
Of course. Unreadable code is never welcome and "unreadable" is quite
subjective.
We're having similar discussions in Qt itself as to how much of C++11 is
acceptable. For example, the "Almost Always Auto" (AAA) suggestions have been
denied and we'll continue to name our variables with the correct type, with a
few exceptions.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
More information about the subsurface
mailing list