Bug 672 - SparseLU uses C++ exceptions unconditionally.
SparseLU uses C++ exceptions unconditionally.
Status: RESOLVED FIXED
Product: Eigen
Classification: Unclassified
Component: LU
3.2
All All
: Normal Unknown
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 01:14 UTC by Vincent Vanhoucke
Modified: 2013-10-29 17:03 UTC (History)
1 user (show)



Attachments

Description Vincent Vanhoucke 2013-10-04 01:14:38 UTC
SparseLU memory management is the only part of Eigen which uses C++ exceptions unconditionally:

https://bitbucket.org/eigen/eigen/src/4be9703e25f01feeb770ae596e9989c090a84ce7/Eigen/src/SparseLU/SparseLU_Memory.h?at=default#cl-89

Others are conditioned on the EIGEN_EXCEPTIONS define.

This is preventing me from using Eigen in an environment where exceptions are disabled. 3.1.3 was fine.
Comment 1 Gael Guennebaud 2013-10-29 11:29:01 UTC
https://bitbucket.org/eigen/eigen/commits/d36b65a171fb/
Changeset:   d36b65a171fb
User:        ggael
Date:        2013-10-29 11:26:52
Summary:     Fix bug 672: use exceptions in SuperLU if they are enabled only

https://bitbucket.org/eigen/eigen/commits/11fa645ef04b/
Changeset:   11fa645ef04b
Branch:      3.2
User:        ggael
Date:        2013-10-29 11:26:52
Summary:     Fix bug 672: use exceptions in SuperLU if they are enabled only
(grafted from d36b65a171fbfd35ed9798f0a48e5d70d1a72225)
Comment 2 Vincent Vanhoucke 2013-10-29 17:03:33 UTC
Thanks Gael.

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