From: Daehyeon Jung Date: Thu, 14 Jan 2021 05:03:57 +0000 (+0900) Subject: Suppress C++17 name mangling compile error X-Git-Tag: submit/tizen/20210115.040627^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e1debafebbea060aebd304ca64f10f905343e09;p=platform%2Fcore%2Fbase%2Fbundle.git Suppress C++17 name mangling compile error Change-Id: I9b30b5794f63133c505e4cf27584935ae655df1c Signed-off-by: Daehyeon Jung --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 92b009e..b355e28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ PKG_CHECK_MODULES(pkgs REQUIRED FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) -SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -flto -Wall -Werror -Winline") +SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -flto -Wall -Werror -Winline -Wno-noexcept-type") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -std=c++11") SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")