summaryrefslogtreecommitdiffhomepage
path: root/loader/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'loader/init.cpp')
-rw-r--r--loader/init.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/loader/init.cpp b/loader/init.cpp
index b4733ca7..89d9d6c9 100644
--- a/loader/init.cpp
+++ b/loader/init.cpp
@@ -10,6 +10,10 @@ extern "C" __declspec(dllimport) long WINAPI RtlGetVersion(PRTL_OSVERSIONINFOEXW
#ifdef _MSC_VER
#pragma comment(lib, "ntdll.lib")
#endif
+#if defined __GNUG__ && !defined __clang__
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#endif
+
#endif // _WIN32
namespace floormat::loader_detail {
@@ -35,7 +39,7 @@ static void system_init_()
#endif
}
-void system_init()
+void loader_impl::system_init()
{
static bool once = false;
if (once)