We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39bf202 commit cb3669aCopy full SHA for cb3669a
1 file changed
include/assert_macros.h
@@ -21,8 +21,8 @@
21
#endif
22
23
#if ASSERTIONS
24
-# define call_assert(assertion) call assert_always(assertion, "call_assert(" // CPP_STRINGIFY_SOURCE(assertion) // ") in file " // __FILE__ // ", line " // fortran_stringify_integer(__LINE__))
25
-# define call_assert_describe(assertion, description) call assert_always(assertion, description // " in file " // __FILE__ // ", line " // fortran_stringify_integer(__LINE__))
+# define call_assert(assertion) call assert_always(assertion, "call_assert(" // CPP_STRINGIFY_SOURCE(assertion) // ")", __FILE__, __LINE__)
+# define call_assert_describe(assertion, description) call assert_always(assertion, description, __FILE__, __LINE__)
26
#else
27
# define call_assert(assertion)
28
# define call_assert_describe(assertion, description)
0 commit comments