The clang version of G_GNUC_{BEGIN,END}_IGNORE_DEPRECATIONS was added in glib 2.41.4 and we depend on glib 2.44.0

Thu, 14 Nov 2019 22:54:01 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 14 Nov 2019 22:54:01 -0600
changeset 40191
18a23d385aa9
parent 40189
c085ee3f4867
child 40192
e05cc93b11f9

The clang version of G_GNUC_{BEGIN,END}_IGNORE_DEPRECATIONS was added in glib 2.41.4 and we depend on glib 2.44.0

libpurple/glibcompat.h file | annotate | diff | comparison | revisions
--- a/libpurple/glibcompat.h	Fri Nov 15 02:23:03 2019 +0000
+++ b/libpurple/glibcompat.h	Thu Nov 14 22:54:01 2019 -0600
@@ -49,21 +49,6 @@
 #  define g_stat purple_g_stat
 #endif
 
-
-#ifdef __clang__
-
-#undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
-	_Pragma ("clang diagnostic push") \
-	_Pragma ("clang diagnostic ignored \"-Wdeprecated-declarations\"")
-
-#undef G_GNUC_END_IGNORE_DEPRECATIONS
-#define G_GNUC_END_IGNORE_DEPRECATIONS \
-	_Pragma ("clang diagnostic pop")
-
-#endif /* __clang__ */
-
-
 /******************************************************************************
  * g_assert_* macros
  *****************************************************************************/

mercurial