diff --git a/triqs/utility/macros.hpp b/triqs/utility/macros.hpp index 16fceca7..f6c8e4bc 100644 --- a/triqs/utility/macros.hpp +++ b/triqs/utility/macros.hpp @@ -40,5 +40,7 @@ namespace triqs { template struct remove_cv_ref : std::remove_cv< typename std::remove_reference::type> {}; }; +#define TRIQS_CATCH_AND_ABORT catch(std::exception const & e) { std::cout << e.what()<< std::endl; return 1;} + #endif