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

Require C++11 #155

Merged
merged 3 commits into from
Jan 4, 2021
Merged

Require C++11 #155

merged 3 commits into from
Jan 4, 2021

Conversation

smmaurer
Copy link
Member

This PR removes accommodations for pre-C++11 compilers, to streamline compilation on newer systems and allow us to use C++11 features.

I believe we tried to do this earlier in the v0.4 release, but had to backpedal in order to continue building Pandana for Windows Python 2.7 environments. Now that we no longer support Python 2.7, we can go ahead with requiring C++11.

Changes:

Testing:

  • compiles and runs fine on my 10.15 Mac using (a) default clang and (b) conda toolchain clang
  • opening the PR will also trigger compilation and unit tests on Ubuntu and Windows

Anything else we should include or test?

Copy link
Contributor

@federicofernandez federicofernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to be able to use C++11! 🎉

Copy link
Collaborator

@julianpalladino julianpalladino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement! Tested it on MANTA and it works 👍

@smmaurer smmaurer merged commit 87ef861 into dev Jan 4, 2021
@smmaurer smmaurer deleted the c++11 branch January 4, 2021 18:21
@smmaurer smmaurer mentioned this pull request Mar 17, 2021
4 tasks
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

Successfully merging this pull request may close these issues.

3 participants