fix build errors with newer libstdc++ 37/294937/1 accepted/tizen/unified/dev/20230726.120009
authorDongkyun Son <dongkyun.s@samsung.com>
Thu, 29 Jun 2023 04:27:30 +0000 (13:27 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 29 Jun 2023 04:30:11 +0000 (13:30 +0900)
1. error: 'runtime_error' is not a member of 'std'
2. error: 'to_string' is not a member of 'std'

Change-Id: Idd0b2d3caf89c976075a190d5a848f5481b46019
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
daemon/cpp/auxd/auxd_client_c.cpp
daemon/cpp/common.h
daemon/cpp/events/evloop.cpp
daemon/cpp/events/evloop_request.h
daemon/cpp/memd/memd_client_c.cpp
src/utils/ipc/ipc_msg_handler.cpp
src/utils/unix/unix_client.cpp
src/utils/unix/unix_server.cpp

index f2c3faf960787f74c641927dc33d903e4a5ea3e0..3a07db54267802b7dd3f88b5829accd22dfe3349 100644 (file)
@@ -25,6 +25,7 @@
 #include "auxd_client_c.h"
 #include "auxd_client.h"
 #include <swap_debug.h>
+#include <stdexcept>
 
 
 struct auxd_client {
index 19a5d62ec96c2655189db0d0705052c6bf823a01..553dd6830e9756063a9e60268a93f0c7a8c627e0 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <string>
 #include <sstream>
+#include <cstdint>
 
 
 static inline std::string int2str(int val)
index 069fa3d7a183b1847e06b5bcdf30f73b9cc7237e..e0e4430cfc6bba26caa6d97e4126ddd2c80b36ea 100644 (file)
@@ -31,6 +31,7 @@
 #include <sys/eventfd.h>
 #include "swap_debug.h"
 #include <utils/unique_ptr.h>
+#include <stdexcept>
 
 
 #define UNINIT_THREAD_ID    (-1)
index 8baa70cde45624bec46568d4fd240069e2d68b52..0baee7475128daca590a8950afe75210becacbde 100644 (file)
@@ -32,6 +32,7 @@
 #include <algorithm>
 #include <condition_variable>
 #include <swap_debug.h>
+#include <stdexcept>
 
 
 namespace EvLoop {
index 400680cf27c0320505d8ba3d3fc9356080134804..1ed36d4d7a87b4ff90f19eb7c9aec99f73dc3600 100644 (file)
@@ -26,6 +26,7 @@
 #include "memd_client.h"
 #include <swap_debug.h>
 #include <string>
+#include <stdexcept>
 
 
 struct memd_client {
index c0f898b6efe0ef445e48368fd0c6e92d814cc87b..6148c7e07090aecb974a9fea4f87f03e3b76bd06 100644 (file)
@@ -24,6 +24,8 @@
 #include "ipc_msg_handler.h"
 #include "socket.h"
 #include <memory>
+#include <string>
+#include <stdexcept>
 
 
 namespace IPC {
index 3d89f2fcd99b55fafc76057a4c8d13b390972f30..5f65167baea944d9c7142b05dc27709ab80be1e8 100644 (file)
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <stdexcept>
 
 
 namespace Unix {
index a7b907a72307d7519fbd474b5ba490dac0fd881e..06c8dc8a80526573b6bc264a6d578d7228d3c40b 100644 (file)
@@ -34,6 +34,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <systemd/sd-daemon.h>
+#include <stdexcept>
 
 
 static int create_unix_socket(const std::string &name, int backlog)