Error:
src/logger.cc: In static member function 'static std::string ndppd::logger::err()':
src/logger.cc:86:22: error: could not convert 'strerror_r((*__errno_location()), ((char*)(& buf)), sizeof (buf))'
from 'int' to 'std::string {aka std::basic_string<char>}'
return strerror_r(errno, buf, sizeof(buf));
Added and modified some patches from
eb81b8f2d6
...navossoc:master
(See https://github.com/DanielAdolfsson/ndppd/issues/40 for details)
Compile-tested: octeon + mpc85xx openwrt master, musl + uclibc++
octeon openwrt master, glibc + libstdc++
Run-tested: octeon openwrt master, musl + uclibc++
Signed-off-by: Martin Strobel <arctus@crza.de>
22 lines
561 B
Diff
22 lines
561 B
Diff
From 715f9f330d8606d4a7b68900325f9b1455dd5368 Mon Sep 17 00:00:00 2001
|
|
From: Rafael Cossovan <navossoc@gmail.com>
|
|
Date: Tue, 3 Apr 2018 17:06:16 -0300
|
|
Subject: [PATCH 1/3] Forgot to bump the version.
|
|
|
|
---
|
|
src/ndppd.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/ndppd.h b/src/ndppd.h
|
|
index 57ba829..3e11221 100644
|
|
--- a/src/ndppd.h
|
|
+++ b/src/ndppd.h
|
|
@@ -21,7 +21,7 @@
|
|
#define NDPPD_NS_BEGIN namespace ndppd {
|
|
#define NDPPD_NS_END }
|
|
|
|
-#define NDPPD_VERSION "0.2.4"
|
|
+#define NDPPD_VERSION "0.2.5"
|
|
|
|
#include <assert.h>
|
|
|