Resolve DEBUG compilation issues

Use NDEBUG conditional instead of DEBUG.

Do not call static functions in extern inline ones.
    Vector.c:67:11: error: static function 'Vector_isConsistent' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline]
This commit is contained in:
Christian Göttsche
2020-09-17 22:27:33 +02:00
committed by cgzones
parent b7f63292e5
commit d69585b82a
8 changed files with 32 additions and 61 deletions

View File

@ -48,10 +48,10 @@ typedef union {
extern ObjectClass Object_class;
#ifdef DEBUG
#ifndef NDEBUG
bool Object_isA(Object* o, const ObjectClass* klass);
#endif
#endif /* NDEBUG */
#endif