Просмотр исходного кода

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 лет назад: 10
Родитель
Сommit
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
     The version list is always sorted from highest version to lowest
     version by the generator. Equal version numbers are either merged
     version by the generator. Equal version numbers are either merged
     or handled as separate versions based on the Hash value. */
     or handled as separate versions based on the Hash value. */
+APT_IGNORE_DEPRECATED_PUSH
 struct pkgCache::Version
 struct pkgCache::Version
 {
 {
    /** \brief complete version string */
    /** \brief complete version string */
@@ -645,6 +646,7 @@ struct pkgCache::Version
    /** \brief parsed priority value */
    /** \brief parsed priority value */
    map_number_t Priority;
    map_number_t Priority;
 };
 };
+APT_IGNORE_DEPRECATED_POP
 									/*}}}*/
 									/*}}}*/
 // Description structure						/*{{{*/
 // Description structure						/*{{{*/
 /** \brief datamember of a linked list of available description for a version */
 /** \brief datamember of a linked list of available description for a version */