Lots of failing unit tests when compiling with -std=c++11

Submitted by Christoph Hertzberg @chhtz

Assigned to Nobody

Link to original bugzilla bug (#967)
Version: 3.3 (current stable)

Description

Although I could not reproduce Bug #966 (closed), I found lots of unit tests that failed to compile in C++11 mode.
Also, currently building (everything) in C++11 mode requires some manual flag settings:

cmake .. -DEIGEN_BUILD_STRING_SUFFIX=cxx11 -DEIGEN_TEST_CUSTOM_CXX_FLAGS=-std=c++11

We could set that flag automatically (and modify the BUILD_STRING) whenever EIGEN_TEST_CXX11 is activated.
The old EIGEN_TEST_C++0x only works for g++, and I'd vote for deprecating (or entirely removing) it.

Blocking

#558 (closed) #966 (closed)

Edited by Eigen Bugzilla