Skip to content

Commit

Permalink
Merge pull request #447 from fjourdes/pr_remove_msvc_eigen_warnings
Browse files Browse the repository at this point in the history
[SofaKernel extlibs] Warning fix with eigen when compiling with msvc
  • Loading branch information
guparan authored Oct 17, 2017
2 parents 62addc4 + dd61153 commit 9863916
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SofaKernel/extlibs/eigen-3.2.7/Eigen/src/Core/Functors.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
#ifndef EIGEN_FUNCTORS_H
#define EIGEN_FUNCTORS_H

#ifdef GNUC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // deprecated std::binder1st and std::binder2nd

#endif // GNUC


namespace Eigen {
Expand Down Expand Up @@ -1028,6 +1029,8 @@ struct functor_traits<std::binary_compose<T0,T1,T2> >

} // end namespace Eigen

#ifdef GNUC
#pragma GCC diagnostic pop
#endif // GNUC

#endif // EIGEN_FUNCTORS_H

0 comments on commit 9863916

Please sign in to comment.