From deddd1b290fd34521c001eca41c0a73fe4544585 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Wed, 9 Feb 2011 20:28:44 +0000 Subject: [PATCH] - get rid DUNE_DEVEL_MODE - always emit the fill exception [[Imported from SVN: r6332]] --- dune/common/exceptions.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dune/common/exceptions.hh b/dune/common/exceptions.hh index c11afbdc4..55188057f 100644 --- a/dune/common/exceptions.hh +++ b/dune/common/exceptions.hh @@ -211,11 +211,7 @@ namespace Dune { // the "format" the exception-type gets printed. __FILE__ and // __LINE__ are standard C-defines, the GNU cpp-infofile claims that // C99 defines __func__ as well. __FUNCTION__ is a GNU-extension -#ifdef DUNE_DEVEL_MODE -# define THROWSPEC(E) # E << " [" << __func__ << ":" << __FILE__ << ":" << __LINE__ << "]: " -#else -# define THROWSPEC(E) # E << ": " -#endif +#define THROWSPEC(E) # E << " [" << __func__ << ":" << __FILE__ << ":" << __LINE__ << "]: " #endif // DOXYGEN /*! Macro to throw an exception -- GitLab