From 9b3975189f74440c6acab53577894aceef42d7e8 Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 14 May 2021 16:18:47 +0200 Subject: [PATCH 1/3] Test: Build - add -lpthread --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 7f6045f..caaa0d8 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ include ../Makefile.conf LDFLAGS=-L../src $(ENGINE_LIB) -LDLIBS=-lstdc++ -lpEpEngine -lpEpAdapter +LDLIBS=-lstdc++ -lpEpEngine -lpEpAdapter -lpthread CXXFLAGS:=-I../src -DENGINE_TEST=$(ENGINE_TEST) $(CXXFLAGS) SRC=$(wildcard test_*.cc) TST=$(subst .cc,,$(SRC)) From e27d594be6d185bbb42e44fdd2f50fe0fb5f4485 Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 14 May 2021 16:19:31 +0200 Subject: [PATCH 2/3] C++ standard pEp-wide has been reverted to C++11 --- Makefile.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.conf b/Makefile.conf index ad57f57..70d14fc 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -13,7 +13,8 @@ PREFIX?=$(HOME) ENGINE_LIB_PATH=$(PREFIX)/lib ENGINE_INC_PATH=$(PREFIX)/include -CXXFLAGS+=-std=c++14 -fPIC +CXXFLAGS+=-std=c++11 -fPIC + # Build target BUILD_FOR:=$(shell uname) From 24aafa8311857064b0a6899aaf390dc877486edc Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 14 May 2021 16:19:52 +0200 Subject: [PATCH 3/3] Test: test_message_cache.cc - missing include --- test/test_message_cache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_message_cache.cc b/test/test_message_cache.cc index 6c35b1b..0c6a479 100644 --- a/test/test_message_cache.cc +++ b/test/test_message_cache.cc @@ -4,6 +4,7 @@ #include "framework.hh" #include #include +#include #include #include #include