From: Jiyong Min Date: Mon, 9 Jan 2017 00:29:48 +0000 (+0900) Subject: fix build error X-Git-Tag: submit/tizen/20170109.021416^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10eca137f487ab21d6aaddc96a8754499d7af1b0;p=platform%2Fcore%2Fapi%2Fmetadata-editor.git fix build error (build fails because of undefined C++11 user-defined literals) Change-Id: If4d3caa4fd73e7881304cd33f68b536addf92549 Signed-off-by: jiyong.min --- diff --git a/include/metadata_editor_private.h b/include/metadata_editor_private.h index f60994f..48d558b 100755 --- a/include/metadata_editor_private.h +++ b/include/metadata_editor_private.h @@ -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) diff --git a/packaging/capi-media-metadata-editor.spec b/packaging/capi-media-metadata-editor.spec index 5dc6d23..31ff102 100755 --- a/packaging/capi-media-metadata-editor.spec +++ b/packaging/capi-media-metadata-editor.spec @@ -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}