SceneGraph: disable warnings about use of deprecated APIs on MSVC.
Both GCC and Clang don't warn if deprecated function is used from inside
another deprecated function (as one would expect). However, MSVC is
doing that and producing a lot of noise. Even worse, when trying to
compile the code under new WindowsStore/WindowsPhone SDKs, the project
files now by default treat these warnings as errors, making the code
uncompilable (unless deprecated API is turned off by disabling
BUILD_DEPRECATED in CMake).
@ -95,6 +95,9 @@ template<class T> class AbstractBasicTranslationRotation2D: public AbstractBasic
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotation2D<T>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
@ -213,6 +213,9 @@ template<class T> class AbstractBasicTranslationRotation3D: public AbstractBasic
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotation3D<T>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
@ -95,6 +95,9 @@ template<class T> class AbstractBasicTranslationRotationScaling2D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotationScaling2D<T>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
@ -109,6 +112,9 @@ template<class T> class AbstractBasicTranslationRotationScaling2D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")AbstractBasicTranslationRotationScaling2D<T>&rotate(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use scale() or scaleLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&scale(constMath::Vector3<T>&vector,TransformationTypetype){
@ -95,6 +98,9 @@ template<class T> class AbstractBasicTranslationRotationScaling3D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
@ -109,6 +115,9 @@ template<class T> class AbstractBasicTranslationRotationScaling3D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
@ -123,6 +132,9 @@ template<class T> class AbstractBasicTranslationRotationScaling3D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateX() or rotateXLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateX(Math::Rad<T>angle,TransformationTypetype){
@ -137,6 +149,9 @@ template<class T> class AbstractBasicTranslationRotationScaling3D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateY() or rotateYLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateY(Math::Rad<T>angle,TransformationTypetype){
@ -151,6 +166,9 @@ template<class T> class AbstractBasicTranslationRotationScaling3D: public Abstra
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateZ() or rotateZLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateZ(Math::Rad<T>angle,TransformationTypetype){
@ -196,6 +196,9 @@ template<class T> class BasicDualQuaternionTransformation: public AbstractBasicT
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateX() or rotateXLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateX(Math::Rad<T>angle,TransformationTypetype){
@ -207,6 +210,9 @@ template<class T> class BasicDualQuaternionTransformation: public AbstractBasicT
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateY() or rotateYLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateY(Math::Rad<T>angle,TransformationTypetype){
@ -218,6 +224,9 @@ template<class T> class BasicDualQuaternionTransformation: public AbstractBasicT
}
#ifdef MAGNUM_BUILD_DEPRECATED
CORRADE_DEPRECATED("use rotateZ() or rotateZLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateZ(Math::Rad<T>angle,TransformationTypetype){