laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-e1d/+/26807 )
Change subject: build: Increase warnings
......................................................................
build: Increase warnings
Go with -Wextra but removing some of the obnoxious options it brings with
it.
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
Change-Id: Iaafd35ba39e272d5900b31b14d2651e0ecb8a84a
---
M src/Makefile.am
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved; Verified
diff --git a/src/Makefile.am b/src/Makefile.am
index 74ade7d..f4af9f2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@
LIBVERSION=1:0:0
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
-AM_CFLAGS=-Wall -Wno-unused-result $(LIBOSMOCORE_CFLAGS) \
+AM_CFLAGS=-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-unused-result $(LIBOSMOCORE_CFLAGS) \
$(LIBOSMOVTY_CFLAGS) $(LIBOSMOUSB_CFLAGS) $(LIBUSB_CFLAGS)
lib_LTLIBRARIES = libosmo-e1d.la
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1d/+/26807
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Iaafd35ba39e272d5900b31b14d2651e0ecb8a84a
Gerrit-Change-Number: 26807
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged