diff options
Diffstat (limited to 'src/location-geoclue2.c')
-rw-r--r-- | src/location-geoclue2.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 <glib.h> #include <glib/gprintf.h> #include <gio/gio.h> +#if defined(__clang__) +# pragma clang diagnostic pop +#endif #define DBUS_ACCESS_ERROR "org.freedesktop.DBus.Error.AccessDenied" |