summaryrefslogtreecommitdiff
path: root/ui/gtk
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2015-05-31 22:34:59 +0200
committerAnders Broman <a.broman58@gmail.com>2015-06-01 18:50:50 +0000
commitf1a6ba1aa2f86b86613089099391aa005163a2f7 (patch)
treef473b8b026a0b7b45b1e4cecad873afb75a39cff /ui/gtk
parent0f7c74acaf0b1e02790e36520a7d1aee332cfc30 (diff)
downloadwireshark-f1a6ba1aa2f86b86613089099391aa005163a2f7.tar.gz
gtk: Don't handle deprecation warnings as errors
This fixes compilation with latest gdk-pixbuf. I plan rewriting the code to drop deprecaated function usage in a different commit and reverting this one. Ping-Bug: 10750 Change-Id: I400e34e625b147a4858e73240602d75910c6eece Reviewed-on: https://code.wireshark.org/review/8720 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/CMakeLists.txt2
-rw-r--r--ui/gtk/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/CMakeLists.txt b/ui/gtk/CMakeLists.txt
index cb340bd2c9..55bd6d1784 100644
--- a/ui/gtk/CMakeLists.txt
+++ b/ui/gtk/CMakeLists.txt
@@ -201,7 +201,7 @@ if (WERROR)
set_source_files_properties(
${CLEAN_FILES}
PROPERTIES
- COMPILE_FLAGS -Werror
+ COMPILE_FLAGS "-Werror -Wno-error=deprecated-declarations"
)
endif()
diff --git a/ui/gtk/Makefile.am b/ui/gtk/Makefile.am
index e521f74b79..b92286ecc1 100644
--- a/ui/gtk/Makefile.am
+++ b/ui/gtk/Makefile.am
@@ -23,7 +23,7 @@ include Makefile.common
include ../../Makefile.am.inc
if HAVE_WARNINGS_AS_ERRORS
-AM_CLEAN_CFLAGS = -Werror
+AM_CLEAN_CFLAGS = -Werror -Wno-error=deprecated-declarations
endif
noinst_LIBRARIES = libgtkui.a