summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-10-15 21:39:31 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2016-10-17 11:44:11 +0100
commit20b2e479f8256184eda0e0d44c1599b27104627a (patch)
treeedadb5bcae004a48a1a7c3893b3c0e1679a28566 /gdk
parent6a9be60a1689b46bca2c5d51203c3a3752b12673 (diff)
downloadgtk+-20b2e479f8256184eda0e0d44c1599b27104627a.tar.gz
build: Add various compiler warnings and errors
Just like GLib, GTK+ would benefit from getting warnings and errors from the compilers. We check various, common warnings, especially for a future use of C99; additionally, we promote some warnings to errors, in order to ensure that simple mistakes are caught during the development phase, before they are submitted to the code repository.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index e1b6d81386..77b73195eb 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -207,7 +207,7 @@ common_sources = \
gdkresources.c
libgdk_4_la_SOURCES = $(common_sources)
-libgdk_4_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
+libgdk_4_la_CFLAGS = $(AM_CFLAGS) $(GTK_WARN_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
libgdk_4_la_LIBADD = $(GDK_DEP_LIBS) $(SHM_LIBS)
libgdk_4_la_LDFLAGS = $(LDADD)