fix build error 87/109087/2 accepted/tizen/common/20170109.202418 accepted/tizen/ivi/20170109.084407 accepted/tizen/mobile/20170109.084310 accepted/tizen/tv/20170109.084326 accepted/tizen/unified/20170309.031803 accepted/tizen/wearable/20170109.084347 submit/tizen/20170109.021416 submit/tizen_unified/20170308.100404
authorJiyong Min <jiyong.min@samsung.com>
Mon, 9 Jan 2017 00:29:48 +0000 (09:29 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 9 Jan 2017 00:37:54 +0000 (09:37 +0900)
(build fails because of undefined C++11 user-defined literals)

Change-Id: If4d3caa4fd73e7881304cd33f68b536addf92549
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
include/metadata_editor_private.h
packaging/capi-media-metadata-editor.spec

index f60994f..48d558b 100755 (executable)
@@ -61,15 +61,15 @@ extern "C" {
 
 
 #define metadata_editor_debug(fmt, arg...) do { \
-               LOGD(""fmt"", ##arg);     \
+               LOGD("" fmt "", ##arg);     \
        } while (0)
 
 #define metadata_editor_info(fmt, arg...) do { \
-               LOGI(""fmt"", ##arg);     \
+               LOGI("" fmt "", ##arg);     \
        } while (0)
 
 #define metadata_editor_error(fmt, arg...) do { \
-               LOGE(""fmt"", ##arg);     \
+               LOGE("" fmt "", ##arg);     \
        } while (0)
 
 #define metadata_editor_debug_fenter() do { \
@@ -82,7 +82,7 @@ extern "C" {
 
 #define metadata_editor_retvm_if(expr, val, fmt, arg...) do { \
                        if (expr) { \
-                               LOGE(""fmt"", ##arg);   \
+                               LOGE("" fmt "", ##arg); \
                                return (val); \
                        } \
                } while (0)
index 5dc6d23..31ff102 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-metadata-editor
 Summary:    A metadata editor library in Tizen Native API
-Version: 0.1.5
+Version: 0.1.6
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -31,6 +31,7 @@ A media metadata editor library in Tizen Native API. (Development files included
 export CFLAGS+=" -Wextra -Wno-array-bounds"
 export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
 export CFLAGS+=" -Wwrite-strings -Wswitch-default"
+CXXFLAGS=${CXXFLAGS/-fgnu89-inline/}
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}