build: some warnings treated as error on windows 10/20010/1
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 24 Apr 2014 11:59:49 +0000 (20:59 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 24 Apr 2014 11:59:49 +0000 (20:59 +0900)
Add next compiler options.
-Werror=implicit-function-declaration
-Werror=implicit-int

Change-Id: If6011e64b0844c92d80442f1e07adde77c2b4fa7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/emulator_configure.sh

index 55958d1d258037e667a0e5ca2bfa5fbd37c38294..c8393f4c720ab27aa03cda97ea67b3008d81f744 100755 (executable)
@@ -216,7 +216,7 @@ else
 fi
 
 # append common flags
-CONFIGURE_APPEND="--enable-maru --enable-libav --enable-curl $CONFIGURE_APPEND"
+CONFIGURE_APPEND="--enable-maru --enable-libav --enable-curl --disable-gtk $CONFIGURE_APPEND"
 
 if [ -z ${PKG_CONFIG_PATH} ] ; then    # avoid pkg-config bug on Windows
 export PKG_CONFIG_PATH=${TIZEN_SDK_DEV_PATH}/distrib/lib/pkgconfig
@@ -246,6 +246,8 @@ echo ""
 echo "##### QEMU configuring for emulator"
 echo "##### QEMU configure append:" $CONFIGURE_APPEND
 exec ./configure \
+ --extra-cflags=-Werror=implicit-function-declaration \
+ --extra-cflags=-Werror=implicit-int \
  --extra-ldflags=-Wl,--large-address-aware \
  --cc=gcc \
  --audio-drv-list=winwave \