From 37a91aaad06fdcbd48c4a396e5a7820f9b770833 Mon Sep 17 00:00:00 2001 From: vdutta Date: Fri, 11 Mar 2022 12:36:55 +0530 Subject: [PATCH] Updated compile flag --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9f5379d..289e5be 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ icwmpd_CFLAGS = \ $(LIBUBUS_CFLAGS) \ $(MICROXML_CFLAGS) \ $(LIBCURL_CFLAGS) \ - -Wall -Wextra \ + -Wall -Wextra -Werror \ -Wformat icwmpd_LDFLAGS = \ diff --git a/configure.ac b/configure.ac index 4d6cbaf..7bc98fc 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_INIT([icwmp], [1.0], [dev@iopsys.eu]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([cwmp.c]) -AM_INIT_AUTOMAKE([foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) # additional options