diff --git a/vcg/math/eigen_matrix_addons.h b/vcg/math/eigen_matrix_addons.h index b42412b5..3fb9a0e8 100644 --- a/vcg/math/eigen_matrix_addons.h +++ b/vcg/math/eigen_matrix_addons.h @@ -21,7 +21,9 @@ * * ****************************************************************************/ +#ifdef __GNUC__ #warning You are including deprecated math stuff +#endif enum {Dimension = SizeAtCompileTime}; typedef typename ei_to_vcgtype::type EquivVcgType; diff --git a/vcg/math/eigen_matrixbase_addons.h b/vcg/math/eigen_matrixbase_addons.h index 68e47e13..30c7b20c 100644 --- a/vcg/math/eigen_matrixbase_addons.h +++ b/vcg/math/eigen_matrixbase_addons.h @@ -21,8 +21,9 @@ * * ****************************************************************************/ +#ifdef __GNUC__ #warning You are including deprecated math stuff - +#endif typedef Scalar ScalarType;