-fexceptions required for Blaze
Work was done on issue #19 to make the error reporting system more flexible. This allows applications using Blaze to ensure exceptions are not thrown in Blaze code. However, it is still not possible to use Blaze with -fno-exceptions.
blaze/math/views/Submatrix.h:1964:4: error: exception handling disabled, use '-fexceptions' to enable
1964 | catch( ... ) {
| ^~~~~
I am trying to use Blaze on an embedded device with exceptions disabled. Is it reasonable to request that users be able to disable or override these catch statements? Once the exception mechanism from #19 has been used to prevent throwing exceptions, we know we do not need these catch statements.
The only catch statements required are those needed when invoking external code that throws exceptions.
Comments (3)
-
-
reporter Hi Klaus,
Has there been any opportunity to look further into this issue?
-
Hi Rob!
I’m sorry to report that there has been no further update of Blaze. Given that I find the time to do another update, this issue is still on top of my list.
Best regards,
Klaus!
- Log in to comment
Hi Rob!
Thanks a lot for pointing out this imperfection. I agree that it should be possible to compile with exceptions disabled. This issue is top on my list and I will address this as soon as possible. Thanks again,
Best regards,
Klaus!