Add -Wall -Werror options. and fix build error 76/194476/2 accepted/tizen/unified/20181205.154822 submit/tizen/20181205.014753
authorhj kim <backto.kim@samsung.com>
Wed, 5 Dec 2018 01:44:39 +0000 (10:44 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 5 Dec 2018 01:45:27 +0000 (01:45 +0000)
Change-Id: Idf79c13c7e4ed7d2d44e1ce320e1115cfd9d71f6

common/include/mm_util_debug.h
imgcv/CMakeLists.txt

index b98ec90..09d0cfe 100755 (executable)
@@ -61,11 +61,11 @@ extern "C"
        } while (0)
 
 #define mm_util_fenter() do { \
-               LOGD(FONT_COLOR_YELLOW"<ENTER>"FONT_COLOR_RESET); \
+               LOGD(FONT_COLOR_YELLOW "<ENTER>" FONT_COLOR_RESET); \
        } while (0)
 
 #define mm_util_fleave() do { \
-               LOGD(FONT_COLOR_YELLOW"<LEAVE>"FONT_COLOR_RESET); \
+               LOGD(FONT_COLOR_YELLOW "<LEAVE>" FONT_COLOR_RESET); \
        } while (0)
 
 #define mm_util_retm_if(expr, fmt, arg...) do { \
index 7d00888..9bc5937 100644 (file)
@@ -27,7 +27,7 @@ ENDFOREACH(flag)
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
 SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -fPIC")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -fPIC -Wall -Werror")
 SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g --w")
 
 IF("${ARCH}" STREQUAL "arm")