From: Daniel Elstner Date: Mon, 2 Nov 2015 21:29:46 +0000 (+0100) Subject: Suppress warnings from glibmm about deprecated auto_ptr X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=8ada6ef1319fa11fd594a34853967c1f9688913b Suppress warnings from glibmm about deprecated auto_ptr This fixes bug #654. --- 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