diff --git a/CI/Windows.bat b/CI/Windows.bat
index 4460e6feec9a35acf31cdf55172a1ff26f5fe9bc..c96a9e6cb358169a60f01df8929b6c5edede73d3 100644
--- a/CI/Windows.bat
+++ b/CI/Windows.bat
@@ -38,13 +38,13 @@ IF "%BUILD_PLATFORM%" == "VS2013" (
set GENERATOR=Visual Studio 12%ARCH_VS%
set VS_PATH="C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
IF "%ARCHITECTURE%" == "x64" (
- set QT_INSTALL_PATH=E:\Qt\Qt5.3.1-vs2013-%STRING_ARCH%\5.3\msvc2013_64_opengl
- set QT_BASE_CONFIG=-DQT5_INSTALL_PATH=E:\Qt\Qt5.3.1-vs2013-%STRING_ARCH%\5.3\msvc2013_64_opengl
+ set QT_INSTALL_PATH=E:\Qt\Qt5.7.0\5.7\msvc2013_64
+ set QT_BASE_CONFIG=-DQT5_INSTALL_PATH=E:\Qt\Qt5.7.0\5.7\msvc2013_64
)
IF "%ARCHITECTURE%" == "x32" (
- set QT_INSTALL_PATH=E:\Qt\Qt5.3.1-vs2013-%STRING_ARCH%\5.3\msvc2013_opengl
- set QT_BASE_CONFIG=-DQT5_INSTALL_PATH=E:\Qt\Qt5.3.1-vs2013-%STRING_ARCH%\5.3\msvc2013_opengl
+ set QT_INSTALL_PATH=E:\Qt\Qt5.7.0\5.7\msvc2013
+ set QT_BASE_CONFIG=-DQT5_INSTALL_PATH=E:\Qt\Qt5.7.0\5.7\msvc2013
)
)
@@ -98,6 +98,7 @@ IF "%APPS%" == "ON" (
ECHO "============================================================="
ECHO "============================================================="
ECHO "Building with :"
+whoami
ECHO "ARCHITECTURE : %ARCHITECTURE%"
ECHO "BUILD_PLATFORM : %BUILD_PLATFORM%"
ECHO "GTESTVERSION : %GTESTVERSION%"
diff --git a/Doc/changelog.docu b/Doc/changelog.docu
index 6c4922c692b4ae505f3235ac45e39b06d0d161ff..c38bd385a09ea61897216c2a9c244ad51e8a85ee 100644
--- a/Doc/changelog.docu
+++ b/Doc/changelog.docu
@@ -25,6 +25,12 @@
SmartTagger: Added the SmartTagger class to tag primitives (O(1) reset )
+Build System
+
+- Rename the DEPRECATED macro into OM_DEPRECATED to prevent a macro clash with Intel MKL (Thanks to Morgan Leborgne for the patch)
+
+
+
diff --git a/src/OpenMesh/Core/Mesh/CirculatorsT.hh b/src/OpenMesh/Core/Mesh/CirculatorsT.hh
index 06560599f53f55d071931ec1fcc91aa6f6d751bd..f3a0c6e257e754441bf64cd0103714fb9917340b 100644
--- a/src/OpenMesh/Core/Mesh/CirculatorsT.hh
+++ b/src/OpenMesh/Core/Mesh/CirculatorsT.hh
@@ -470,7 +470,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
To be save, you can use the CW/CCW circulator definitions, which behave\
the same as the original ones, without the previously mentioned issues."
- DEPRECATED( DECREMENT_DEPRECATED_WARNINGS_TEXT )
+ OM_DEPRECATED( DECREMENT_DEPRECATED_WARNINGS_TEXT )
#endif // NO_DECREMENT_DEPRECATED_WARNINGS
GenericCirculatorT_DEPRECATED& operator--() {
assert(this->mesh_);
@@ -488,7 +488,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
/// Post-decrement
#ifndef NO_DECREMENT_DEPRECATED_WARNINGS
- DEPRECATED( DECREMENT_DEPRECATED_WARNINGS_TEXT )
+ OM_DEPRECATED( DECREMENT_DEPRECATED_WARNINGS_TEXT )
#undef DECREMENT_DEPRECATED_WARNINGS_TEXT
#endif //NO_DECREMENT_DEPRECATED_WARNINGS
GenericCirculatorT_DEPRECATED operator--(int) {
@@ -542,7 +542,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
return GenericCirculator_ValueHandleFns::is_valid(this->heh_,this->start_, this->lap_counter_);
}
- DEPRECATED("current_halfedge_handle() is an implementation detail and should not be accessed from outside the iterator class.")
+ OM_DEPRECATED("current_halfedge_handle() is an implementation detail and should not be accessed from outside the iterator class.")
/**
* \deprecated
* current_halfedge_handle() is an implementation detail and should not
@@ -552,7 +552,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
return this->heh_;
}
- DEPRECATED("Do not use this error prone implicit cast. Compare to end-iterator or use is_valid(), instead.")
+ OM_DEPRECATED("Do not use this error prone implicit cast. Compare to end-iterator or use is_valid(), instead.")
/**
* \deprecated
* Do not use this error prone implicit cast. Compare to the
@@ -567,7 +567,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
* \deprecated
* This function clutters your code. Use dereferencing operators -> and * instead.
*/
- DEPRECATED("This function clutters your code. Use dereferencing operators -> and * instead.")
+ OM_DEPRECATED("This function clutters your code. Use dereferencing operators -> and * instead.")
value_type handle() const {
return **this;
}
@@ -578,7 +578,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT {
* Implicit casts of iterators are unsafe. Use dereferencing operators
* -> and * instead.
*/
- DEPRECATED("Implicit casts of iterators are unsafe. Use dereferencing operators -> and * instead.")
+ OM_DEPRECATED("Implicit casts of iterators are unsafe. Use dereferencing operators -> and * instead.")
operator value_type() const {
return **this;
}
diff --git a/src/OpenMesh/Core/Mesh/IteratorsT.hh b/src/OpenMesh/Core/Mesh/IteratorsT.hh
index 6d2c92bc29284213637d96dccb8619eb5b3f1913..284004c9b617d12acf6a0aed53db8014af38f128 100644
--- a/src/OpenMesh/Core/Mesh/IteratorsT.hh
+++ b/src/OpenMesh/Core/Mesh/IteratorsT.hh
@@ -126,7 +126,7 @@ class GenericIteratorT {
* \deprecated
* This function clutters your code. Use dereferencing operators -> and * instead.
*/
- DEPRECATED("This function clutters your code. Use dereferencing operators -> and * instead.")
+ OM_DEPRECATED("This function clutters your code. Use dereferencing operators -> and * instead.")
value_handle handle() const {
return hnd_;
}
@@ -137,7 +137,7 @@ class GenericIteratorT {
* Implicit casts of iterators are unsafe. Use dereferencing operators
* -> and * instead.
*/
- DEPRECATED("Implicit casts of iterators are unsafe. Use dereferencing operators -> and * instead.")
+ OM_DEPRECATED("Implicit casts of iterators are unsafe. Use dereferencing operators -> and * instead.")
operator value_handle() const {
return hnd_;
}
diff --git a/src/OpenMesh/Core/System/config.h b/src/OpenMesh/Core/System/config.h
index 9d7520c1c351ca4e842e0f6299bfde83cfbc0286..bb5a78938e5ac731891622be184ab99ac7b56606 100644
--- a/src/OpenMesh/Core/System/config.h
+++ b/src/OpenMesh/Core/System/config.h
@@ -83,17 +83,17 @@
#endif
#if defined(_MSC_VER)
-# define DEPRECATED(msg) __declspec(deprecated(msg))
+# define OM_DEPRECATED(msg) __declspec(deprecated(msg))
#elif defined(__GNUC__)
# if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500 /* Test for GCC >= 4.5.0 */
-# define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
+# define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
# else
-# define DEPRECATED(msg) __attribute__ ((deprecated))
+# define OM_DEPRECATED(msg) __attribute__ ((deprecated))
# endif
#elif defined(__clang__)
-# define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
+# define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#else
-# define DEPRECATED(msg)
+# define OM_DEPRECATED(msg)
#endif
typedef unsigned int uint;