Commit db040c82 authored by Orend, Dr Jan (ORJ)'s avatar Orend, Dr Jan (ORJ)
Browse files

Setting c++17 for all compiler

No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -34,6 +34,7 @@ option(USE_INCLUDED_SSL "Use included libressl" ON)
option(BUILD_FOR_CODECOVERAGE "Build for code coverage analysis" OFF)
add_compile_options($<$<CXX_COMPILER_ID:MSVC>:/MP>)
set (CMAKE_CXX_STANDARD 17)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# using GCC
......
......@@ -155,8 +155,6 @@ namespace NMR {
nfDouble dResult = 0.0;
// Convert to double and make a input and range check!
nfChar * pEndPtr;
std::from_chars_result result = std::from_chars(pszValue, pszValue + strlen(pszValue), dResult);
// Check if any conversion happened
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment