From 8ada6ef1319fa11fd594a34853967c1f9688913b Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Mon, 2 Nov 2015 22:29:46 +0100 Subject: [PATCH] Suppress warnings from glibmm about deprecated auto_ptr This fixes bug #654. --- pv/binding/binding.hpp | 4 ++++ pv/prop/property.hpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pv/binding/binding.hpp b/pv/binding/binding.hpp index bd858bb..4854bd6 100644 --- a/pv/binding/binding.hpp +++ b/pv/binding/binding.hpp @@ -21,7 +21,11 @@ #ifndef PULSEVIEW_PV_BINDING_BINDING_HPP #define PULSEVIEW_PV_BINDING_BINDING_HPP +#include +// Suppress warnings due to use of deprecated std::auto_ptr<> by glibmm. +G_GNUC_BEGIN_IGNORE_DEPRECATIONS #include +G_GNUC_END_IGNORE_DEPRECATIONS #include #include diff --git a/pv/prop/property.hpp b/pv/prop/property.hpp index 123783a..77eb9a6 100644 --- a/pv/prop/property.hpp +++ b/pv/prop/property.hpp @@ -21,7 +21,11 @@ #ifndef PULSEVIEW_PV_PROP_PROPERTY_HPP #define PULSEVIEW_PV_PROP_PROPERTY_HPP +#include +// Suppress warnings due to use of deprecated std::auto_ptr<> by glibmm. +G_GNUC_BEGIN_IGNORE_DEPRECATIONS #include +G_GNUC_END_IGNORE_DEPRECATIONS #include #include -- 2.30.2