瀏覽代碼

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
David Kalnischkies 11 年之前
父節點
當前提交
fcffe89d83
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      apt-pkg/pkgcache.h

+ 2 - 0
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 */