[gnumeric] Configure: disable gtk+ deprecation warnings.



commit 8fe98e9a522c2a09322b70306ffece3158399b50
Author: Morten Welinder <terra gnome org>
Date:   Sun Apr 15 11:59:14 2018 -0400

    Configure: disable gtk+ deprecation warnings.
    
    We are not trying to follow gtk+4 and these warnings are way too noisy.
    (I.e., the same thing probably gets warned about 5 times.)

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index eef86fe..78e60dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,9 @@ PKG_CHECK_MODULES(GNUMERIC, $gnumeric_reqs)
 AC_SUBST(GNUMERIC_LIBS)
 AC_SUBST(GNUMERIC_CFLAGS)
 
+# We don't attempt to track gtk+4, so disable the very noise warnings
+CFLAGS="$CFLAGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS"
+
 with_native_win32=no
 case $host_os in
 mingw* | pw32*)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]