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/mainWindow.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ui/mainWindow.cpp') diff --git a/ui/mainWindow.cpp b/ui/mainWindow.cpp index 57dabc0..1834a33 100644 --- a/ui/mainWindow.cpp +++ b/ui/mainWindow.cpp @@ -1,12 +1,8 @@ #include "mainWindow.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 MainWindow::MainWindow(ScreenAbsCoord size, const char * title, Uint32 flags) : Window {size, title, flags} { -- cgit v1.2.3