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
OpenMesh
OpenMesh
Commits
509f62e1
Commit
509f62e1
authored
Nov 23, 2015
by
Jan Möbius
Browse files
Try to get c++11 on visual studio 2015
parent
de46a56b
Pipeline
#73
passed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Core/Geometry/VectorT.hh
View file @
509f62e1
...
...
@@ -60,7 +60,7 @@
// macro expansion and preprocessor defines
// don't work properly.
#if (__cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) && !defined(OPENMESH_VECTOR_LEGACY)
#if (
_MSC_VER >= 1900 ||
__cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) && !defined(OPENMESH_VECTOR_LEGACY)
#include
"Vector11T.hh"
#else
#ifndef DOXYGEN
...
...
src/Unittests/unittests_cpp_11_features.cc
View file @
509f62e1
...
...
@@ -53,7 +53,7 @@ class OpenMesh_Triangle : public OpenMeshBase {
* ====================================================================
*/
#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
#if
_MSC_VER >= 1900 ||
__cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
/*
*/
...
...
src/Unittests/unittests_vector_type.cc
View file @
509f62e1
...
...
@@ -84,7 +84,7 @@ TEST_F(OpenMeshVectorTest, VectorCasting) {
}
#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
#if
_MSC_VER >= 1900 ||
__cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
TEST_F
(
OpenMeshVectorTest
,
cpp11_constructors
)
{
OpenMesh
::
Vec3d
vec1
{
1.2
,
2.0
,
3.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