C++11 has been supported by every main-stream compiler for some years. We could enable C++11 mode testing by default. Also, we should make it possible to run unit tests in C++14/17/... mode. This could reveal usage of deprecated constructs. To make that future proof, EIGEN_TEST_CXX11 should be deprecated and replaced by something like EIGEN_TEST_CXX_STANDARD (which can be 03/11/14/17/20/...)
Yes, we should replace EIGEN_TEST_CXX11 by EIGEN_TEST_CXX_STANDARD. On my side I use -DEIGEN_TEST_CUSTOM_CXX_FLAGS="-std=cxx.." as a workaround.
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1655.