Skip to content

Target C++14 standard - #2691

Merged
TheMarex merged 1 commit into
masterfrom
cpp14
Jul 25, 2016
Merged

TheMarex merged 1 commit into
masterfrom
cpp14

Conversation

@springmeyer

Copy link
Copy Markdown
Contributor

Testing branch to enable c++14

@springmeyer

Copy link
Copy Markdown
Contributor Author

This passed on travis except for the g++-4.8 jobs which fail, curiously, in the luabind check: https://travis-ci.org/Project-OSRM/osrm-backend/jobs/146640025#L1271

Is this worth trying to fix(the luabind check)? In other words, when we move to require or default to c++14 is there any reason to keep g++-4.8 support? /cc @TheMarex @daniel-j-h

@daniel-j-h

Copy link
Copy Markdown
Member

gcc 4.8 is probably way too old for C++14 anyway

@TheMarex

Copy link
Copy Markdown
Member

Yeah let's drop 4.8. Only reason we had it was for node-osrm.

@springmeyer
springmeyer force-pushed the cpp14 branch 2 times, most recently from 2734693 to ad858cb Compare July 25, 2016 08:49
@springmeyer springmeyer changed the title [WIP] Build in c++14 Target C++14 standard Jul 25, 2016
@springmeyer

Copy link
Copy Markdown
Contributor Author

Dropped g++-4.8 from testing matrix. This is rebased and ready to merge after 👀 from @TheMarex.

@daniel-j-h

Copy link
Copy Markdown
Member

Nice! We have some gcc4.8 workarounds in the code base, would be great to rip them out.

Also what are now our requirements? gcc>=4.9, clang>=3.6?

@TheMarex

Copy link
Copy Markdown
Member

Also what are now our requirements? gcc>=4.9, clang>=3.6?

Yes I think gcc 4.9 will work. Not sure about clang 3.6 - was that ever a stable release?

@daniel-j-h

Copy link
Copy Markdown
Member

Sure, comes with Ubuntu 15.04 for example.

Comment thread .travis.yml
compiler: "gcc-5-release-i686"
env: TARGET_ARCH='i686' CCOMPILER='gcc-5' CXXCOMPILER='g++-5' BUILD_TYPE='Release'

- os: linux

@TheMarex TheMarex Jul 25, 2016 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ticketed the ARM upgrade here #2699

@TheMarex
TheMarex merged commit 71d64e8 into master Jul 25, 2016
@TheMarex
TheMarex deleted the cpp14 branch July 25, 2016 17:31
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.

5 participants