From c18006147ed0ffba6144c25e564aa95c4dbba99a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Mar 2025 13:44:00 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/location-geoclue2.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/location-geoclue2.c') diff --git a/src/location-geoclue2.c b/src/location-geoclue2.c index f5076c5..5e66465 100644 --- a/src/location-geoclue2.c +++ b/src/location-geoclue2.c @@ -19,9 +19,20 @@ */ #include "common.h" +#if defined(__clang__) +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wreserved-identifier" +# pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# pragma clang diagnostic ignored "-Wdocumentation-unknown-command" +# pragma clang diagnostic ignored "-Wdocumentation" +# pragma clang diagnostic ignored "-Wpadded" +#endif #include #include #include +#if defined(__clang__) +# pragma clang diagnostic pop +#endif #define DBUS_ACCESS_ERROR "org.freedesktop.DBus.Error.AccessDenied" -- cgit v1.2.3-70-g09d2