1
0

Fixed RasPi builds of unit tests.

On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled.
Enforced the assumption that ASSERT code is generated only in Debug builds.
This commit is contained in:
Mattes D
2016-08-02 13:12:34 +02:00
parent 69916a6bf4
commit d1dee3c909
15 changed files with 97 additions and 44 deletions

View File

@@ -238,7 +238,9 @@ AString cClientHandle::FormatMessageType(bool ShouldAppendChatPrefixes, eMessage
}
}
ASSERT(!"Unhandled chat prefix type!");
return "";
#ifndef __clang__
return "";
#endif
}