]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/vendorlist.cc
restore ABI of pkgTagSection
[apt.git] / apt-pkg / vendorlist.cc
index 6024256241eef05fc041e85c4a15a1e0359e79a8..db5b87fc07f9aeafa811bb73eec496d7f50040cc 100644 (file)
@@ -3,11 +3,16 @@
 #include <apt-pkg/fileutl.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/configuration.h>
+
+#include <stddef.h>
+#include <iostream>
+#include <string>
+#include <vector>
+
 #include <apti18n.h>
 
-#if __GNUC__ >= 4
-       #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>
@@ -156,6 +161,4 @@ const Vendor* pkgVendorList::FindVendor(const std::vector<string> GPGVOutput)       /*
 }
                                                                        /*}}}*/
 
-#if __GNUC__ >= 4
-       #pragma GCC diagnostic warning "-Wdeprecated-declarations"
-#endif
+APT_IGNORE_DEPRECATED_POP