Skip to content
Snippets Groups Projects
Commit 87063da3 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

small warning not define both NDEBUG and ALUGRIDDEBUG - gives many warnings

parent 52a4230d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,9 @@
#ifndef ALUGRIDDEBUG
# define alugrid_assert(EX) (__ASSERT_VOID_CAST (0))
#else
#ifdef NDEBUG
#warning defined ALUGRIDDEBUG and NDEBUG both leads to many warnings and is probably not reasonable...
#endif
# define alugrid_assert(EX) assert(EX)
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment