Skip to content

Commit

Permalink
UPDATE: Testing for GNUC compiler seems a better option.
Browse files Browse the repository at this point in the history
  • Loading branch information
fjourdes authored Oct 5, 2017
1 parent 10bcbd6 commit dd61153
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SofaKernel/extlibs/eigen-3.2.7/Eigen/src/Core/Functors.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
#ifndef EIGEN_FUNCTORS_H
#define EIGEN_FUNCTORS_H

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


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

} // end namespace Eigen

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

#endif // EIGEN_FUNCTORS_H

0 comments on commit dd61153

Please sign in to comment.