From bb9c132df1bb6673686426b0f42c20335c15f359 Mon Sep 17 00:00:00 2001 From: Arkadiy Illarionov Date: Thu, 14 Mar 2024 22:46:46 +0300 Subject: [PATCH] Silence GTK deprecation warnings in champlain-gtk Also remove unused pragma --- src/bar-gps.cc | 3 +++ src/image-load-cr3.cc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bar-gps.cc b/src/bar-gps.cc index a6929442..9d39104c 100644 --- a/src/bar-gps.cc +++ b/src/bar-gps.cc @@ -24,7 +24,10 @@ #include #include +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include +#pragma GCC diagnostic pop #include #include #include diff --git a/src/image-load-cr3.cc b/src/image-load-cr3.cc index 926bff4a..3b0dcb7b 100644 --- a/src/image-load-cr3.cc +++ b/src/image-load-cr3.cc @@ -18,9 +18,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -/** This is a Will Not Fix */ -#pragma GCC diagnostic ignored "-Wclobbered" - #include "image-load-cr3.h" #include -- 2.20.1