Fixes various compiler diagnostics
Found with LLVM 3.9.1 and then fixed the most severe categories.
This commit is contained in:
committed by
Daniel J. H
parent
b5d5f309a3
commit
1153b78c06
+1
-1
@@ -6,7 +6,7 @@
|
||||
namespace
|
||||
{
|
||||
// We hard-abort on assertion violations.
|
||||
void assertion_failed_msg_helper(
|
||||
[[noreturn]] void assertion_failed_msg_helper(
|
||||
char const *expr, char const *msg, char const *function, char const *file, long line)
|
||||
{
|
||||
std::cerr << "[assert] " << file << ":" << line << "\nin: " << function << ": " << expr << "\n"
|
||||
|
||||
Reference in New Issue
Block a user