aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/EthCompilerSettings.cmake
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-11-26 17:19:55 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-12-12 04:28:05 +0800
commit5b86e3ec50b757def69a9aed9bc70fac1a8ed652 (patch)
tree1436ff3024777c2c759d23a493082cf4eaa6adfc /cmake/EthCompilerSettings.cmake
parent055c5fe173b90b7d07f1170de5d7018140296f89 (diff)
downloaddexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.tar.gz
dexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.tar.zst
dexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.zip
Enables C++14 standard (was C++11) within the Solidity compiler project.
Diffstat (limited to 'cmake/EthCompilerSettings.cmake')
-rw-r--r--cmake/EthCompilerSettings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
index b4cc6656..70505fdb 100644
--- a/cmake/EthCompilerSettings.cmake
+++ b/cmake/EthCompilerSettings.cmake
@@ -25,8 +25,8 @@ eth_add_cxx_compiler_flag_if_supported(-Wimplicit-fallthrough)
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))
- # Use ISO C++11 standard language.
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+ # Use ISO C++14 standard language.
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
# Enables all the warnings about constructions that some users consider questionable,
# and that are easy to avoid. Also enable some extra warning flags that are not