]> git.saurik.com Git - apt.git/commit - apt-pkg/srcrecords.h
replace ignore-deprecated #pragma dance with _Pragma
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 26 Oct 2014 22:17:03 +0000 (23:17 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 8 Nov 2014 13:26:00 +0000 (14:26 +0100)
commit586d8704716a10e0f8b9c400cab500f5353eebe6
tree9318582dc8c53a88084ad00c4dfa6d02c83b3ca6
parent23fb7b2cbbda62c99a199d29ad62205b23d35af4
replace ignore-deprecated #pragma dance with _Pragma

For compatibility we use/provide and fill quiet some deprecated methods
and fields, which subsequently earns us a warning for using them. These
warnings therefore have to be disabled for these codeparts and that is
what this change does now in a slightly more elegant way.

Git-Dch: Ignore
13 files changed:
apt-pkg/acquire-item.cc
apt-pkg/cacheset.cc
apt-pkg/cacheset.h
apt-pkg/contrib/hashes.cc
apt-pkg/contrib/hashes.h
apt-pkg/contrib/macros.h
apt-pkg/deb/debsrcrecords.cc
apt-pkg/indexrecords.cc
apt-pkg/indexrecords.h
apt-pkg/pkgcachegen.cc
apt-pkg/srcrecords.h
apt-pkg/upgrade.cc
apt-pkg/vendorlist.cc