34 #ifndef CARTOBASE_EXCEPTION_ASSERT_H
35 #define CARTOBASE_EXCEPTION_ASSERT_H
65 #if defined( __GNUC__ ) \
66 && ( __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 3) )
81 #define ASSERT( EX ) ( carto::test_assert( (EX), #EX, __FILE__, __LINE__ ) )
assert_error(const char *assertion, const char *file, int line)
const char * file() const
void test_assert(bool x, const char *ex, const char *file, int line) __attribute__((nonnull))
void assert_failed(const char *, const char *, int)