This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 1655

Summary: Compile unit test by default in C++11 mode
Product: Eigen Reporter: Christoph Hertzberg <chtz>
Component: TestsAssignee: Nobody <eigen.nobody>
Status: DECISIONNEEDED ---    
Severity: Unknown CC: chtz, gael.guennebaud, jacob.benoit.1
Priority: Normal    
Version: 3.4 (development)   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 1608    

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.