diff --git a/PreCompiledHeaders.cmake b/PreCompiledHeaders.cmake
index 4d9128d51cc5e265dd3cf53dbec087f2675115e1..1de55147c549a687610fcada06e1d4d5cd19d2be 100644
--- a/PreCompiledHeaders.cmake
+++ b/PreCompiledHeaders.cmake
@@ -25,6 +25,7 @@ set(STL_INC
     <mutex>
     <iomanip>
     <filesystem>
+    <bit>
 )
 
 set(EXT_INC PRIVATE
diff --git a/src/Lib/Log.cc b/src/Lib/Log.cc
index 51a8ee1ab948180fc2d0d456878b2ba9374fe38b..db13553bebf15eef33479fabcd5d0ba6a47be9e0 100644
--- a/src/Lib/Log.cc
+++ b/src/Lib/Log.cc
@@ -142,7 +142,7 @@ LogMessage::LogMessage(LogMessage &&other) noexcept
     , parentLogger(other.parentLogger)
 {
     std::memcpy(this, &other, sizeof(LogMessage));
-    std::memset(&other, 0, sizeof(LogMessage));
+    std::memset(reinterpret_cast<void *>(&other), 0, sizeof(LogMessage));
 }
 
 LogMessage &&
diff --git a/src/VivyApplication.cc b/src/VivyApplication.cc
index 343b2f1469ee29e8e618cba87b849c1baeeba98d..286bd28edcb979c67c99e80725c31594df765c64 100644
--- a/src/VivyApplication.cc
+++ b/src/VivyApplication.cc
@@ -33,6 +33,7 @@ VivyApplication::setTheme(Theme theme) noexcept
     QFile stylesheet(sheet);
     if (!stylesheet.exists()) {
         logFatal() << "Missing stylesheet!";
+        exit(EXIT_FAILURE);
     } else {
         stylesheet.open(QFile::ReadOnly | QFile::Text);
         QTextStream stylesheetStream(&stylesheet);
@@ -92,6 +93,9 @@ VivyApplication::exec() noexcept
         return QApplication::exec();
     }
     }
+
+    logFatal() << "Unreachable: undefined ApplicationType";
+    return 1;
 }
 
 QFont
@@ -111,7 +115,8 @@ VivyApplication::getApplicationFont(Font id) const noexcept
     }
 
     // Let the program crash
-    logFatal() << "Unreachable";
+    logError() << "Unreachable: undefined font id";
+    return getFontFromId(fontIdRegular);
 }
 
 MainWindow *