|Summary:||Compile unit test by default in C++11 mode|
|Product:||Eigen||Reporter:||Christoph Hertzberg <chtz>|
|Severity:||Unknown||CC:||chtz, gael.guennebaud, jacob.benoit.1|
|Bug Depends on:|
Description Christoph Hertzberg 2019-01-04 17:55:00 UTC
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/...)
Comment 1 Gael Guennebaud 2019-02-19 14:20:57 UTC
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.
Comment 2 Nobody 2019-12-04 18:21:03 UTC
-- 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.