Avoid including <sstream> with EIGEN_NO_IO

Including Eigen/Dense in embedded environments using libc++ built with
-DLIBCXX_ENABLE_LOCALIZATION=OFF results in the following compiler
error: error:

  <locale.h> is not supported since libc++ has been configured without
  support for localization

Remove the dependency on sstream to allow using the Eigen/Dense header
on embedded targets.

The patch was originally developed by alexrichardson@google.com and
is now submitted to the the main branch of the Eigen library repository:
https://gitlab.com/libeigen/eigen/-/merge_requests/1019

It will be included in future stable releases of Eigen.
This is a backport of the patch on top of v3.4.0, which is the latest
stable release.

Change-Id: I8faf47efe644da9f5be0a588c3c55eb7b7858f92
6 files changed
tree: 19e8cc93fb42b27386df03756edbd264238d34fa
  1. .gitlab/
  2. bench/
  3. blas/
  4. ci/
  5. cmake/
  6. debug/
  7. demos/
  8. doc/
  9. Eigen/
  10. failtest/
  11. lapack/
  12. scripts/
  13. test/
  14. unsupported/
  15. .gitignore
  16. .gitlab-ci.yml
  17. .hgeol
  18. CMakeLists.txt
  19. COPYING.APACHE
  20. COPYING.BSD
  21. COPYING.GPL
  22. COPYING.LGPL
  23. COPYING.MINPACK
  24. COPYING.MPL2
  25. COPYING.README
  26. CTestConfig.cmake
  27. CTestCustom.cmake.in
  28. eigen3.pc.in
  29. INSTALL
  30. README.md
  31. signature_of_eigen3_matrix_library
README.md

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

For more information go to http://eigen.tuxfamily.org/.

For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.