From fcffe89d8344e699267210badac53ff24dd41148 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 11 Sep 2015 14:19:16 +0200 Subject: do not report deprecate warnings for the None declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is defined for compatibility, warning about it is intended, but only in places where it is actually used, rather than at the place we declare it for compatability… Git-Dch: Ignore --- apt-pkg/pkgcache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apt-pkg/pkgcache.h') diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 6f3efd744..f72dd30b0 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -578,6 +578,7 @@ struct pkgCache::DescFile The version list is always sorted from highest version to lowest version by the generator. Equal version numbers are either merged or handled as separate versions based on the Hash value. */ +APT_IGNORE_DEPRECATED_PUSH struct pkgCache::Version { /** \brief complete version string */ @@ -645,6 +646,7 @@ struct pkgCache::Version /** \brief parsed priority value */ map_number_t Priority; }; +APT_IGNORE_DEPRECATED_POP /*}}}*/ // Description structure /*{{{*/ /** \brief datamember of a linked list of available description for a version */ -- cgit v1.2.3