diff --git a/include/armadillo_bits/config.hpp b/include/armadillo_bits/config.hpp index 74a59306..31a1bf41 100644 --- a/include/armadillo_bits/config.hpp +++ b/include/armadillo_bits/config.hpp @@ -217,6 +217,10 @@ //// Comment out the above line if you don't want errors and warnings printed (eg. failed decompositions) #endif +#if !defined(ARMA_PRINT_EXCEPTIONS) +// #define ARMA_PRINT_EXCEPTIONS +#endif + #if !defined(ARMA_PRINT_HDF5_ERRORS) // #define ARMA_PRINT_HDF5_ERRORS #endif @@ -311,6 +315,10 @@ #undef ARMA_PRINT_ERRORS #endif +#if defined(ARMA_DONT_PRINT_EXCEPTIONS) + #undef ARMA_PRINT_EXCEPTIONS +#endif + #if defined(ARMA_DONT_PRINT_HDF5_ERRORS) #undef ARMA_PRINT_HDF5_ERRORS #endif diff --git a/include/armadillo_bits/config.hpp.cmake b/include/armadillo_bits/config.hpp.cmake index fd52c4c1..9b60a744 100644 --- a/include/armadillo_bits/config.hpp.cmake +++ b/include/armadillo_bits/config.hpp.cmake @@ -217,6 +217,10 @@ //// Comment out the above line if you don't want errors and warnings printed (eg. failed decompositions) #endif +#if !defined(ARMA_PRINT_EXCEPTIONS) +// #define ARMA_PRINT_EXCEPTIONS +#endif + #if !defined(ARMA_PRINT_HDF5_ERRORS) // #define ARMA_PRINT_HDF5_ERRORS #endif @@ -311,6 +315,10 @@ #undef ARMA_PRINT_ERRORS #endif +#if defined(ARMA_DONT_PRINT_EXCEPTIONS) + #undef ARMA_PRINT_EXCEPTIONS +#endif + #if defined(ARMA_DONT_PRINT_HDF5_ERRORS) #undef ARMA_PRINT_HDF5_ERRORS #endif