]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/vendorlist.cc
make all d-pointer * const pointers
[apt.git] / apt-pkg / vendorlist.cc
index fb33ff17d97f20f85a3cfcc9128cc7e7c98f7a8b..db5b87fc07f9aeafa811bb73eec496d7f50040cc 100644 (file)
 
 #include <apti18n.h>
 
-#if __GNUC__ >= 4
-       #pragma GCC diagnostic push
-       #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-#endif
+// The whole vendor system is deprecated
+APT_IGNORE_DEPRECATED_PUSH
 
 #include <apt-pkg/vendor.h>
 #include <apt-pkg/vendorlist.h>
@@ -163,6 +161,4 @@ const Vendor* pkgVendorList::FindVendor(const std::vector<string> GPGVOutput)       /*
 }
                                                                        /*}}}*/
 
-#if __GNUC__ >= 4
-       #pragma GCC diagnostic pop
-#endif
+APT_IGNORE_DEPRECATED_POP