3.3-rc1 doesn't compile on gcc 4.2.1 (apple)

Submitted by eugvas

Assigned to Nobody

Link to original bugzilla bug (#1328)
Version: 3.3 (current stable)
Operating system: Mac OS

Description

my program that used Eigen 3.2.x happily with gcc 4.2.1 doesn't compile with the newer version; here are the error messages that I get (also appear when building unit tests):
Eigen/src/Core/util/XprHelper.h:194: error: expected primary-expression before ‘bool’
Eigen/src/Core/util/XprHelper.h:194: error: expected ‘>’ before ‘bool’
Eigen/src/Core/util/XprHelper.h:210: error: template argument 4 is invalid
Eigen/src/Core/util/XprHelper.h:223: error: template argument 4 is invalid

Eigen/src/Core/util/Meta.h:392: error: no matching function for call to ‘Eigen::internal::scalar_identity_op<double>::operator()() const’
Eigen/src/Core/util/Meta.h: In instantiation of ‘Eigen::internal::has_unary_operator<Eigen::internal::scalar_identity_op<double>, long int>’

If C++11 is a requirement now, this needs to be stated explicitly in the docs?

Blocking

#558 (closed)

Edited by Eigen Bugzilla