From c0fc470083fb456b2ba97002b520da82a2c31ad0 Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Mon, 9 Jan 2017 09:36:11 +0900 Subject: [PATCH] fix build error (build fails because of undefined C++11 user-defined literals) Change-Id: I7ab36537dd3502f2bc5c7c035dba4ae5d2dced69 Signed-off-by: jiyong.min --- include/DcmDebugUtils.h | 20 ++++++++++---------- libdcm-util/include/dcm_image_debug_utils.h | 16 ++++++++-------- packaging/dcm-service.spec | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/include/DcmDebugUtils.h b/include/DcmDebugUtils.h index f81c920..9b17b90 100755 --- a/include/DcmDebugUtils.h +++ b/include/DcmDebugUtils.h @@ -36,35 +36,35 @@ #define FONT_COLOR_GRAY "\033[37m" #define dcm_debug(fmt, arg...) do { \ - LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \ + LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_info(fmt, arg...) do { \ - LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \ + LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_warn(fmt, arg...) do { \ - LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \ + LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_error(fmt, arg...) do { \ - LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \ + LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_debug(fmt, arg...) do { \ - SECURE_LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_info(fmt, arg...) do { \ - SECURE_LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_warn(fmt, arg...) do { \ - SECURE_LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_error(fmt, arg...) do { \ - SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_debug_fenter() do { \ LOGD(FONT_COLOR_RESET""); \ @@ -75,14 +75,14 @@ } while (0) #define dcm_retm_if(expr, fmt, arg...) do { \ if (expr) { \ - LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \ + LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \ return; \ } \ } while (0) #define dcm_retvm_if(expr, val, fmt, arg...) do { \ if (expr) { \ - LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \ + LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \ return (val); \ } \ } while (0) diff --git a/libdcm-util/include/dcm_image_debug_utils.h b/libdcm-util/include/dcm_image_debug_utils.h index c19cf71..05e3fe1 100755 --- a/libdcm-util/include/dcm_image_debug_utils.h +++ b/libdcm-util/include/dcm_image_debug_utils.h @@ -37,35 +37,35 @@ #define FONT_COLOR_GRAY "\033[37m" #define dcm_debug(fmt, arg...) do { \ - LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \ + LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_info(fmt, arg...) do { \ - LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \ + LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_warn(fmt, arg...) do { \ - LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \ + LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_error(fmt, arg...) do { \ - LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \ + LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_debug(fmt, arg...) do { \ - SECURE_LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_info(fmt, arg...) do { \ - SECURE_LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_warn(fmt, arg...) do { \ - SECURE_LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \ + SECURE_LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \ } while (0) #define dcm_sec_error(fmt, arg...) do { \ - SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET , ##arg); \ + SECURE_LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET , ##arg); \ } while (0) #define dcm_debug_fenter() do { \ diff --git a/packaging/dcm-service.spec b/packaging/dcm-service.spec index 40b6bd5..dac7642 100755 --- a/packaging/dcm-service.spec +++ b/packaging/dcm-service.spec @@ -1,6 +1,6 @@ Name: dcm-service Summary: A media DCM(Digital Contents Management) Service -Version: 0.0.13 +Version: 0.0.14 Release: 0 Group: Multimedia/Service License: Apache-2.0 -- 2.34.1