From 44068a63f5bbc4c4139851f3db10b6ace9af2463 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 3 Nov 2024 11:50:44 +0000 Subject: [PATCH] Guard some pragmas which aren't understood by MSVC --- libs/tk/ytkmm/ytkmm/gtkmm/stockid.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h b/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h index 682a082992..5deee3f0e3 100644 --- a/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h +++ b/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h @@ -23,10 +23,14 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef COMPILER_MSVC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-copy" #include #pragma GCC diagnostic pop +#else +#include +#endif namespace Gtk {