diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-11-21 07:56:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-21 08:25:52 +0100 |
commit | 47bba70cec23a8f5d57a33d87419a4b1adf16cbe (patch) | |
tree | b6fa4a0290cca6464b285e6b2a64511fe1a59d29 /src/Makefile.am | |
parent | e90f13e82dbba37865098d1ebdeee0e35ad3326f (diff) |
Add "-Wall" to the compile rules of the non-asn1c-generated source code
This is actually default in all other osmocom projects, and it's a
big surprise that it hadn't been enabled for osmo-iuh. Now we finally
can see that there are e.g. unused static functions in the code.
Change-Id: I8d52b11e3f476ffd77f3ab185b679817cd3b2163
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c9e1555..ab772a4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -42,7 +42,7 @@ gen_ranap.stamp: $(ASN1_ROOT)/ranap/RANAP-PDU-Contents.asn $(ASN1TOSTRUCT) ranap_decoder.c ranap_encoder.c: gen_ranap.stamp -AM_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \ +AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \ $(OSMOCORE_CFLAGS) $(OSMOVTY_CFLAGS) $(OSMOGSM_CFLAGS) \ $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) |