From: Sooyoung Ha Date: Mon, 9 Nov 2015 14:57:17 +0000 (+0900) Subject: build: apply -Werror build option X-Git-Tag: submit/tizen/20160406.082952~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F51442%2F2;p=platform%2Fadaptation%2Femulator%2Fvmodem-daemon-emulator.git build: apply -Werror build option This option enables that warning as error, we can catch build warnings easily on compile time. -Wall option has enabled already. Change-Id: I0d99a3bcaf3fe03cda851917a13848162f205399 Signed-off-by: Sooyoung Ha --- diff --git a/configure.ac b/configure.ac index d0ced7c..7dd681d 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ then AC_MSG_ERROR([pkg-config not present, please install]) fi -CFLAGS="${CFLAGS} -Wall" +CFLAGS="${CFLAGS} -Wall -Werror" AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) diff --git a/libvmodem/Makefile.in b/libvmodem/Makefile.in index 4a944f4..f1bc4df 100644 --- a/libvmodem/Makefile.in +++ b/libvmodem/Makefile.in @@ -1,16 +1,14 @@ CC=@CC@ AR=@AR@ -INCLUDES = \ - -I. \ +INCLUDES = -I. \ -I../lib/libsms CFLAGS = @CFLAGS@ -CFLAGS += -Wall $(INCLUDES) -DEMTRACE_I878 -D_LIBVGSM_DEBUG +CFLAGS += -Wall -Werror $(INCLUDES) -DEMTRACE_I878 -D_LIBVGSM_DEBUG LIBS = -lpthread -OBJ = \ - lxtutil.o \ +OBJ = lxtutil.o \ libvgsm_edb.o \ libvgsm_emul.o \ libvgsm_init.o \