Switch to clang and improve cpprt

This commit is contained in:
Justin C. Miller
2018-05-09 01:17:18 -07:00
parent bb227d2c37
commit 9128bfc5f1
9 changed files with 55 additions and 19 deletions

View File

@@ -15,4 +15,4 @@ extern assert_callback __kernel_assert_p;
} // namespace kutil
#define kassert(stmt, message) if(!(stmt)) { ::kutil::__kernel_assert_p(__FILE__, __LINE__, (message)); } else {}
#define kassert(stmt, message) do { if(!(stmt)) { ::kutil::__kernel_assert_p(__FILE__, __LINE__, (message)); }} while(0);