Fix build warning 86/89886/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 27 Sep 2016 09:45:00 +0000 (18:45 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 27 Sep 2016 10:06:27 +0000 (19:06 +0900)
Change-Id: Ic647333f95bb19e369761186d63a7b25036cb8f9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/ise-default.spec
src/include/ise-stt-mode.h
src/ise-stt-option.cpp

index 35b3681..1ff1a51 100644 (file)
@@ -36,7 +36,7 @@ Description: Tizen keyboard
 
 %build
 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -std=c++11"
 export FFLAGS+=" -DTIZEN_DEBUG_ENABLE"
 
 %if "%{profile}" == "wearable"
index e7e7ba6..c3727a6 100644 (file)
@@ -51,9 +51,6 @@ extern "C"
 {
 #endif
 
-
-#define STT_EDJ_FILE "edje/w-input-stt.edj"
-
 #define SK_INIT    "IDS_VOICE_BODY_TAP_MIC"
 #define SK_SPEAK_NOW    "IDS_VOICE_NPBODY_SPEAK_NOW_ABB"
 #define SK_RECOGNITION_FAILED    "IDS_VOICE_TPOP_RECOGNITION_FAILED_ABB"
index 86dd510..3571254 100644 (file)
@@ -537,7 +537,7 @@ void create_setting_window()
     /* Add a back button to naviframe */
     Evas_Object *back_button = NULL;
     char *title = NULL;
-    char *item_style = NULL;
+    const char *item_style = NULL;
 
 #ifdef _MOBILE
     back_button = elm_button_add(naviframe);