This bugzilla service is closed. All entries have been migrated to
Bug 1655 - Compile unit test by default in C++11 mode
Summary: Compile unit test by default in C++11 mode
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tests (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Unknown
Assignee: Nobody
Depends on:
Blocks: 3.x
  Show dependency treegraph
Reported: 2019-01-04 17:55 UTC by Christoph Hertzberg
Modified: 2019-12-04 18:21 UTC (History)
3 users (show)


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'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:

Note You need to log in before you can comment on or make changes to this bug.