]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/property.hpp
Suppress warnings from glibmm about deprecated auto_ptr
[pulseview.git] / pv / prop / property.hpp
index 123783ae0b4403729964d30108e3771eb9561450..77eb9a6a73ec61f36f828775e22fbd3cf1b501d1 100644 (file)
 #ifndef PULSEVIEW_PV_PROP_PROPERTY_HPP
 #define PULSEVIEW_PV_PROP_PROPERTY_HPP
 
+#include <glib.h>
+// Suppress warnings due to use of deprecated std::auto_ptr<> by glibmm.
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 #include <glibmm.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 #include <functional>
 #include <QString>