Go to the documentation of this file.
44 #ifdef FLOW123D_NODEBUG
46 #undef FLOW123D_DEBUG_MESSAGES
47 #undef FLOW123D_DEBUG_ASSERTS
48 #undef FLOW123D_DEBUG_PROFILER
55 #define FLOW123D_DEBUG_MESSAGES
56 #define FLOW123D_DEBUG_ASSERTS
57 #define FLOW123D_DEBUG_PROFILER
67 #ifdef FLOW123D_DEBUG_MESSAGES
73 #define DBGCOUT(...) do { std::cout << " DBG (" \
77 __VA_ARGS__; } while(0)
84 #define DBGVAR( var ) DBGCOUT( << #var << " = " << var << endl )
104 #define FLOW123D_FORCE_LINK_IN_CHILD(x) int force_link_##x = 0;
105 #define _TOKENPASTE(x, y) func_ ## x ## y
106 #define _TOKENPASTE2(x, y) _TOKENPASTE(x, y)
107 #define FLOW123D_FORCE_LINK_IN_PARENT(x) extern int force_link_##x; void _TOKENPASTE2(x, __LINE__)(void) { force_link_##x = 1; }