Commit 2e289275 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

add semicolons for ASSERT macros

This is needed to avoid different behaviour
between release and debug builds
parent f06a59c9
......@@ -193,47 +193,47 @@
#else // NDBEUG
#define WALBERLA_ASSERT_1(X) (void(0))
#define WALBERLA_ASSERT_NULLPTR_1(X) (void(0))
#define WALBERLA_ASSERT_NOT_NULLPTR_1(X) (void(0))
#define WALBERLA_ASSERT_EQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_UNEQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_FLOAT_EQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_FLOAT_UNEQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_IDENTICAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_NOT_IDENTICAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_LESS_2(X,Y) (void(0))
#define WALBERLA_ASSERT_GREATER_2(X,Y) (void(0))
#define WALBERLA_ASSERT_LESS_EQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_GREATER_EQUAL_2(X,Y) (void(0))
#define WALBERLA_ASSERT_2(X,MSG) (void(0))
#define WALBERLA_ASSERT_NULLPTR_2(X,MSG) (void(0))
#define WALBERLA_ASSERT_NOT_NULLPTR_2(X,MSG) (void(0))
#define WALBERLA_ASSERT_EQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_UNEQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_FLOAT_EQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_FLOAT_UNEQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_IDENTICAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_NOT_IDENTICAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_LESS_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_GREATER_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_LESS_EQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT_GREATER_EQUAL_3(X,Y,MSG) (void(0))
#define WALBERLA_ASSERT(...) (void(0))
#define WALBERLA_ASSERT_NULLPTR(...) (void(0))
#define WALBERLA_ASSERT_NOT_NULLPTR(...) (void(0))
#define WALBERLA_ASSERT_EQUAL(...) (void(0))
#define WALBERLA_ASSERT_UNEQUAL(...) (void(0))
#define WALBERLA_ASSERT_FLOAT_EQUAL(...) (void(0))
#define WALBERLA_ASSERT_FLOAT_UNEQUAL(...) (void(0))
#define WALBERLA_ASSERT_IDENTICAL(...) (void(0))
#define WALBERLA_ASSERT_NOT_IDENTICAL(...) (void(0))
#define WALBERLA_ASSERT_LESS(...) (void(0))
#define WALBERLA_ASSERT_GREATER(...) (void(0))
#define WALBERLA_ASSERT_LESS_EQUAL(...) (void(0))
#define WALBERLA_ASSERT_GREATER_EQUAL(...) (void(0))
#define WALBERLA_ASSERT_1(X) (void(0));
#define WALBERLA_ASSERT_NULLPTR_1(X) (void(0));
#define WALBERLA_ASSERT_NOT_NULLPTR_1(X) (void(0));
#define WALBERLA_ASSERT_EQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_UNEQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_FLOAT_EQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_FLOAT_UNEQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_IDENTICAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_NOT_IDENTICAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_LESS_2(X,Y) (void(0));
#define WALBERLA_ASSERT_GREATER_2(X,Y) (void(0));
#define WALBERLA_ASSERT_LESS_EQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_GREATER_EQUAL_2(X,Y) (void(0));
#define WALBERLA_ASSERT_2(X,MSG) (void(0));
#define WALBERLA_ASSERT_NULLPTR_2(X,MSG) (void(0));
#define WALBERLA_ASSERT_NOT_NULLPTR_2(X,MSG) (void(0));
#define WALBERLA_ASSERT_EQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_UNEQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_FLOAT_EQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_FLOAT_UNEQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_IDENTICAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_NOT_IDENTICAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_LESS_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_GREATER_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_LESS_EQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT_GREATER_EQUAL_3(X,Y,MSG) (void(0));
#define WALBERLA_ASSERT(...) (void(0));
#define WALBERLA_ASSERT_NULLPTR(...) (void(0));
#define WALBERLA_ASSERT_NOT_NULLPTR(...) (void(0));
#define WALBERLA_ASSERT_EQUAL(...) (void(0));
#define WALBERLA_ASSERT_UNEQUAL(...) (void(0));
#define WALBERLA_ASSERT_FLOAT_EQUAL(...) (void(0));
#define WALBERLA_ASSERT_FLOAT_UNEQUAL(...) (void(0));
#define WALBERLA_ASSERT_IDENTICAL(...) (void(0));
#define WALBERLA_ASSERT_NOT_IDENTICAL(...) (void(0));
#define WALBERLA_ASSERT_LESS(...) (void(0));
#define WALBERLA_ASSERT_GREATER(...) (void(0));
#define WALBERLA_ASSERT_LESS_EQUAL(...) (void(0));
#define WALBERLA_ASSERT_GREATER_EQUAL(...) (void(0));
#endif // NDBEUG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment