On Tue, Aug 25, 2015 at 11:29 AM, Michael Povolotskyi <mpovo...@purdue.edu> wrote:
> Dear Libmesh developers, > recently I saw a problem with libmesh_terminate_handler > < > http://libmesh.github.io/doxygen/namespacelibMesh.html#ac42cc9a668f69fbf3514c2585986dcbe > >() > Somehow it conflicts with my code when an exception in my code (not in > libmesh) is generated. > So, I need to disable the catch of exceptions inside the libMesh. > Is the only way to do so is to not define LIBMESH_ENABLE_EXCEPTIONS? > How this can be done during configuration? > Did Paul's response fix the issue for you? Even though disabling exceptions in libmesh might work around the problem, I'd still like to know a bit more about what "conflicts with my code" means? Are you declaring your own terminate handler with std::set_terminate and libmesh's gets in the way? Generally speaking, we'd like to be good exception handling citizens, so I'd like to know if there's something we can improve here... -- John ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users