Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
0ad436fe
Commit
0ad436fe
authored
Aug 29, 2019
by
Martin Heistermann
Browse files
compiler.hh: provide defines for c++ version at build time and (client) compile time
parent
ed51fa73
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenVolumeMesh/System/Compiler.hh
View file @
0ad436fe
#include
"../Config/Version.hh"
// C++ version at OVM build time,
// to be used for things that change ABI
#if OPENVOLUMEMESH_CXX_VERSION >= 17
#define OVM_BUILD_CXX_17 1
#else
#define OVM_BUILD_CXX_17 0
#endif
// C++ version when compiling (e.g. client code),
// be careful not to change ABI depending on these defines.
#if __cplusplus >= 201703L
#define OVM_CXX_17 1
#else
#define OVM_CXX_17 0
...
...
Write
Preview
Supports
Markdown
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