Subject: [Boost-bugs] [Boost C++ Libraries] #13021: Odeint: Eigen upgrade to v 3.3.3 breaks compatibility
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-10 18:25:08
#13021: Odeint: Eigen upgrade to v 3.3.3 breaks compatibility
-------------------------+----------------------------------
Reporter: speku.gmt@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.64.0
Severity: Problem | Keywords: odeint eigen include
-------------------------+----------------------------------
In order to combine odeint with the Eigen library I use, among other
things,
#include "boost/numeric/odeint/external/eigen/eigen.hpp"
This used to work perfectly with Eigen version 3.2 , but fails after an
upgrade of the Eigen libraries to version 3.3.3. The code does not
compile, generating a large amount of error messages, beginning with:
{{{
In file included from
/usr/include/boost/numeric/odeint/external/eigen/eigen.hpp:22:0,
from minimal.cpp:3:
/usr/include/boost/numeric/odeint/external/eigen/eigen_algebra.hpp:35:37:
error: âscalar_add_opâ in namespace âEigen::internalâ does not name a
template type
(...)
}}}
A minimal reproducible example is:
{{{
#include <Eigen/Dense>
#include <boost/numeric/odeint.hpp>
#include "boost/numeric/odeint/external/eigen/eigen.hpp"
int main() {}
}}}
This code does not compile with Eigen 3.3.3. The only functioning
workaround I found was downgrading to Eigen 3.3.2.
I noticed the problem while using Boost version 1.58.0, ubuntu 16.04, g++
version 5.4.0.
Upgraded to Boost version 1.64.0; to no avail. The error messages differ
after the Boost upgrade but the problem persists.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13021> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-05-10 18:29:25 UTC