Requiring C++14 for setting EIGEN_HAS_CONSTEXPR is too strict

Submitted by Rasmus Munk Larsen @rmlarsen1

Assigned to Nobody

Link to original bugzilla bug (#1583)
Version: 3.4 (development)

Description

The commit:

006e18e5

changed the definition of EIGEN_HAS_CONSTEXPR such that it is only set for C++14 compilers. This is needlessly strict and breaks the IndexLists mechanism used to infer tensor shapes and sizes at compile time in TensorFlow.

It also breaks certain legacy builds internal to Google that rely on IndexList.

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee Loading
Time tracking Loading