This patch creates a couple of tests around how autoeject works.
[m6w6/libmemcached] / libmemcached / assert.hpp
index 8a46784ed22803a501e7091e2cb1dc628653fe8e..acd0198e3df52848cefa876a36068ea822f0a730 100644 (file)
@@ -50,6 +50,7 @@ do \
   if (not (__expr)) \
   { \
     fprintf(stderr, "\nAssertion \"%s\" failed for function \"%s\" likely for %s, at %s:%d\n", #__expr, __func__, (#__mesg),  __FILE__, __LINE__);\
+    custom_backtrace(); \
     abort(); \
   } \
 } while (0)