Fixes various compiler diagnostics

Found with LLVM 3.9.1 and then fixed the most severe categories.
This commit is contained in:
Daniel J. Hofmann
2017-01-06 13:21:54 +01:00
committed by Daniel J. H
parent b5d5f309a3
commit 1153b78c06
12 changed files with 19 additions and 24 deletions
+1 -1
View File
@@ -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"