calendar-server: Temporarily ignore all deprecations in eds includes

Evolution draws in libsoup, which exposes deprecated types in its
API. While its headers have been fixed to guard the affected symbols,
those fixes aren't in our CI images yet.

Until we get a fixed version, just disable all deprecation warnings
during the include in order to not trip over "foreign" bugs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709
This commit is contained in:
Florian Müllner 2019-09-10 16:20:34 +02:00 committed by Florian Müllner
parent d0ace108e5
commit dcf7bae6c7
2 changed files with 4 additions and 0 deletions

View File

@ -29,7 +29,9 @@
#include <string.h> #include <string.h>
#define HANDLE_LIBICAL_MEMORY #define HANDLE_LIBICAL_MEMORY
#define EDS_DISABLE_DEPRECATED #define EDS_DISABLE_DEPRECATED
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <libecal/libecal.h> #include <libecal/libecal.h>
G_GNUC_END_IGNORE_DEPRECATIONS
#undef CALENDAR_ENABLE_DEBUG #undef CALENDAR_ENABLE_DEBUG
#include "calendar-debug.h" #include "calendar-debug.h"

View File

@ -35,7 +35,9 @@
#define HANDLE_LIBICAL_MEMORY #define HANDLE_LIBICAL_MEMORY
#define EDS_DISABLE_DEPRECATED #define EDS_DISABLE_DEPRECATED
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <libecal/libecal.h> #include <libecal/libecal.h>
G_GNUC_END_IGNORE_DEPRECATIONS
#include "calendar-sources.h" #include "calendar-sources.h"