In file included from examples/helloworld.cc:36:
In file included from include/ceres/ceres.h:37:
In file included from include/ceres/autodiff_cost_function.h:132:
In file included from include/ceres/internal/autodiff.h:145:
include/ceres/jet.h:246:3: error: requested alignment is less than minimum alignment of 4 for type 'Eigen::Matrix<double, 1, 1, kAlignHint>'
alignas(kAlignment) Eigen::Matrix<T, N, 1, kAlignHint> v;
^
include/ceres/internal/autodiff.h:232:34: note: in instantiation of template class 'ceres::Jet<double, 1>' requested here
FixedArray<JetT, (256 * 7) / sizeof(JetT)> x(
^
include/ceres/autodiff_cost_function.h:211:53: note: in instantiation of member function 'ceres::internal::AutoDiff<CostFunctor, double, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0>::Differentiate' requested here
N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(
^
examples/helloworld.cc:70:11: note: in instantiation of member function 'ceres::AutoDiffCostFunction<CostFunctor, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0>::Evaluate' requested here
new AutoDiffCostFunction<CostFunctor, 1, 1>(new CostFunctor);
^
Tested by: cmp before.o after.o # GCC 4.8 / 6.2