diff options
author | wchang kim <wchang.kim@samsung.com> | 2023-07-20 14:22:41 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2023-07-20 14:22:41 +0900 |
commit | 53da31f838552746d6b2ba2fdd180ced41bce8d6 (patch) | |
tree | 12a7609fc0566fef2e1c29bbeac49efb08608c80 | |
parent | 394d1ff6601411b931cb9bd3fadab3f87fec668f (diff) | |
download | webapi-plugins-sandbox/playchang/riscv64.tar.gz webapi-plugins-sandbox/playchang/riscv64.tar.bz2 webapi-plugins-sandbox/playchang/riscv64.zip |
Fixed the build error using gcc 13sandbox/playchang/riscv64
-rw-r--r-- | src/callhistory/callhistory.cc | 2 | ||||
-rw-r--r-- | src/common/common.gypi | 3 | ||||
-rw-r--r-- | src/common/converter.h | 1 | ||||
-rw-r--r-- | src/metadata/metadata_file_handle.h | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/src/callhistory/callhistory.cc b/src/callhistory/callhistory.cc index 9b610577..b863ee5c 100644 --- a/src/callhistory/callhistory.cc +++ b/src/callhistory/callhistory.cc @@ -485,7 +485,7 @@ void CallHistory::removeAll(const picojson::object& args) { } CallHistory::LockedVector CallHistory::getPhoneNumbers() { - return std::move(CallHistory::LockedVector{m_phone_numbers, m_phone_numbers_mutex}); + return CallHistory::LockedVector{m_phone_numbers, m_phone_numbers_mutex}; } CallHistoryUtils& CallHistory::getUtils() { diff --git a/src/common/common.gypi b/src/common/common.gypi index 68ca831c..21cf6f34 100644 --- a/src/common/common.gypi +++ b/src/common/common.gypi @@ -84,7 +84,8 @@ '-Wall', '-Werror', '-Wformat-signedness', - '-Wno-psabi' # suppress messages about ABI changes in GCC 7.1 + '-Wno-psabi', # suppress messages about ABI changes in GCC 7.1 + '-Wno-range-loop-construct' # gcc 13 ], 'cflags_c': [ '-std=c11', diff --git a/src/common/converter.h b/src/common/converter.h index db0955d1..602307a4 100644 --- a/src/common/converter.h +++ b/src/common/converter.h @@ -19,6 +19,7 @@ #include "common/picojson.h" #include "common/platform_exception.h" +#include <cstdint> namespace common { diff --git a/src/metadata/metadata_file_handle.h b/src/metadata/metadata_file_handle.h index f0136b04..efe39283 100644 --- a/src/metadata/metadata_file_handle.h +++ b/src/metadata/metadata_file_handle.h @@ -19,6 +19,7 @@ #include <metadata_extractor.h> #include <string> +#include <cstdint> #include "common/picojson.h" #include "common/platform_result.h" |