Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Update to C++ 17 #6896

Closed
wants to merge 9 commits into from
Closed

Update to C++ 17 #6896

wants to merge 9 commits into from

Conversation

larryk85
Copy link
Contributor

@larryk85 larryk85 commented Mar 7, 2019

Change Description

Update libraries and CMake to build with C++ 17 instead of C++ 14.

Consensus Changes

API Changes

Documentation Additions

@@ -31,7 +31,7 @@ include( InstallDirectoryPermissions )
include( MASSigning )

set( BLOCKCHAIN_NAME "EOSIO" )
set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_EXTENSIONS ON )
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth turning this off? Seems like it compiles okay with it off

@spoonincode
Copy link
Contributor

spoonincode commented Mar 12, 2019

set( CMAKE_CXX_STANDARD 17 ) requires a cmake minimum bump to 3.8 I think. Also I wonder if we could just completely remove the compiler version check due to CXX_STANDARD_REQUIRED being on

@larryk85
Copy link
Contributor Author

Closing. Superceded by PR #7107

@larryk85 larryk85 closed this Apr 10, 2019
@larryk85 larryk85 deleted the feature/cpp17 branch April 10, 2019 19:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants