From: David Kalnischkies Date: Fri, 11 Sep 2015 12:19:16 +0000 (+0200) Subject: do not report deprecate warnings for the None declaration X-Git-Tag: 1.1.exp13~22 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/fcffe89d8344e699267210badac53ff24dd41148?ds=sidebyside do not report deprecate warnings for the None declaration 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 --- 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 */