Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++11 #269

Open
barche opened this issue Oct 9, 2015 · 2 comments
Open

C++11 #269

barche opened this issue Oct 9, 2015 · 2 comments

Comments

@barche
Copy link
Member

barche commented Oct 9, 2015

Would it be OK to start requiring C++11 compiler support? Especially range-based for loops and the auto keyword are nice features, and it's frustrating not being able to use them in new code while the compiler support is widely available.

To do this properly in CMake, we should use the target_compile_features option, which is available since CMake 3.1, so the minimal required version would be bumped up because of this.

@wdeconinck
Copy link
Member

Im in favor too.

On 09 Oct 2015, at 14:08, Bart Janssens notifications@github.com wrote:

Would it be OK to start requiring C++11 compiler support? Especially range-based for loops and the auto keyword are nice features, and it's frustrating not being able to use them in new code while the compiler support is widely available.

To do this properly in CMake, we should use the target_compile_features option, which is available since CMake 3.1, so the minimal required version would be bumped up because of this.


Reply to this email directly or view it on GitHub.

@tlmquintino
Copy link
Member

I agree.

Tiago Quintino
(sent from my phone)

On 9 Oct 2015, at 12:08, Bart Janssens notifications@github.com wrote:

Would it be OK to start requiring C++11 compiler support? Especially range-based for loops and the auto keyword are nice features, and it's frustrating not being able to use them in new code while the compiler support is widely available.

To do this properly in CMake, we should use the target_compile_features option, which is available since CMake 3.1, so the minimal required version would be bumped up because of this.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants