Skip to content

Compile unit test by default in C++11 mode

Submitted by Christoph Hertzberg

Assigned to Nobody

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

Description

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/...)

Blocking

#1608