Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
3rd
lib3mf
Commits
db040c82
Commit
db040c82
authored
1 year ago
by
Orend, Dr Jan (ORJ)
Browse files
Options
Download
Email Patches
Plain Diff
Setting c++17 for all compiler
parent
ca32d262
implicit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-0
CMakeLists.txt
Source/Common/NMR_StringUtils.cpp
+0
-2
Source/Common/NMR_StringUtils.cpp
with
1 addition
and
2 deletions
+1
-2
CMakeLists.txt
View file @
db040c82
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Source/Common/NMR_StringUtils.cpp
View file @
db040c82
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help