diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2024-12-26 22:00:27 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2025-01-05 22:16:08 +0000 |
| commit | 1bc8792f87eb265005b77d209fc8321886dc5290 (patch) | |
| tree | 6963cdbd465e70b7e0d9fff4021b839f99e8c25b /apt-pkg | |
| parent | 12036e1ff02d0c02d0f69050c1f080e8ca947cd5 (diff) | |
Drop unused short form APT_IGNORE_DEPRECATED
Even the long form isn't used much (or currently not at all), but given
that the short form is not really working even if it would be used…
lets drop it and use the long form if we have to.
Diffstat (limited to 'apt-pkg')
| -rw-r--r-- | apt-pkg/contrib/macros.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apt-pkg/contrib/macros.h b/apt-pkg/contrib/macros.h index 7d8a9e2b2..60aba30f4 100644 --- a/apt-pkg/contrib/macros.h +++ b/apt-pkg/contrib/macros.h @@ -78,15 +78,9 @@ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") #define APT_IGNORE_DEPRECATED_POP \ _Pragma("GCC diagnostic pop") - /* gcc has various problems with this shortcut, so prefer the long form */ - #define APT_IGNORE_DEPRECATED(XXX) \ - APT_IGNORE_DEPRECATED_PUSH \ - XXX \ - APT_IGNORE_DEPRECATED_POP #else #define APT_IGNORE_DEPRECATED_PUSH #define APT_IGNORE_DEPRECATED_POP - #define APT_IGNORE_DEPRECATED(XXX) XXX #endif // These lines are extracted by the makefiles and the buildsystem @@ -139,6 +133,7 @@ AptScopeWrapper(F) -> AptScopeWrapper<F>; #define APT_UNUSED #define APT_MUSTCHECK #endif +#define APT_IGNORE_DEPRECATED(XXX) XXX #endif #endif #endif |
