From: Nick Bowler Date: Tue, 5 Apr 2022 01:09:07 +0000 (-0400) Subject: Disable deprecation warnings from Glib. X-Git-Url: https://git.draconx.ca/gitweb/slotifier.git/commitdiff_plain/7fa907f302724a95227b00943917740f8c1b0229 Disable deprecation warnings from Glib. Even if I wanted to make the suggested code changes to avoid these pointless warnings, in this case the problem is not in tihs package, but it comes from an external #include dependency via libgerbv. Thankfully we can simply define a macro to shut it all up. --- diff --git a/configure.ac b/configure.ac index 6100d26..165e1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright © 2018-2019, 2021 Nick Bowler +dnl Copyright © 2018-2019, 2021-2022 Nick Bowler dnl dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2. dnl This is free software: you are free to do what the fuck you want to. @@ -31,6 +31,8 @@ DX_LINGUAS DX_LIB_CNEARTREE DX_LIB_LIBGERBV +AC_DEFINE([GLIB_DISABLE_DEPRECATION_WARNINGS], [1], + [Define to shut up glib deprecation silliness.]) AS_IF([test x"$dx_cv_libgerbv_lib_found" = x"yes"], [AC_CACHE_CHECK([if libgerbv supports G85 slots], [dx_cv_gerbv_supports_g85],