diff options
-rw-r--r-- | Eigen/src/Core/util/XprHelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 393e6696c..7e6cb3381 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -27,10 +27,10 @@ #define EIGEN_XPRHELPER_H // just a workaround because GCC seems to not really like empty structs -#ifdef __GNUG__ +#if (defined __GNUG__) && !((__GNUC__==4) && (__GNUC_MINOR__==3)) #define EIGEN_EMPTY_STRUCT_CTOR(X) \ EIGEN_STRONG_INLINE X() {} \ - EIGEN_STRONG_INLINE X(const X&) {} + EIGEN_STRONG_INLINE X(const X& ) {} #else #define EIGEN_EMPTY_STRUCT_CTOR(X) #endif |