faithtools/faith/debug.h

Go to the documentation of this file.
00001 #ifndef KDE__DEBUG_H_
00002 #define KDE__DEBUG_H_
00003 
00004 #include <iostream>
00005 
00006 #define KDE_SOFT_ASSERT(test) do { if (!(test)) { std::cerr << __FILE__ << ":" << __LINE__ << ": assert \"" << #test  << "\" failed" << std::endl; } } while(0)
00007 
00008 //#define KDE_SOFT_ASSERT(test) if (!(test)) abort()
00009 
00010 
00011 
00012 #endif

Generated on Fri Sep 1 00:23:07 2006 for Faith by  doxygen 1.4.7