From 2711f074b58e4ab54d45c1b696175808811d4ef8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 16 Jan 2026 00:30:42 +0000 Subject: Tidy thirdparty jam, use -isystem for thirdparty includes Removes the need to disable warnings for imgui includes. --- ui/window.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ui/window.cpp') diff --git a/ui/window.cpp b/ui/window.cpp index 06857b2..c85cebe 100644 --- a/ui/window.cpp +++ b/ui/window.cpp @@ -1,11 +1,8 @@ #include "window.h" -#include -#include -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wold-style-cast" #include "backends/imgui_impl_opengl3.h" #include "backends/imgui_impl_sdl2.h" -#pragma GCC diagnostic pop +#include +#include Window::Window(ScreenAbsCoord size, const char * title, Uint32 flags) : m_window {title, static_cast(SDL_WINDOWPOS_CENTERED), static_cast(SDL_WINDOWPOS_CENTERED), size.x, size.y, -- cgit v1.2.3