From 00a93bcc99a857aa68086fb61b6748976ca3fb92 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 4 Jul 2018 22:36:56 +0200 Subject: [PATCH 1/1] try to fix the build on centos --- src/mc/sosp/PageStore_test.cpp | 2 ++ src/mc/sosp/mc_snapshot_test.cpp | 1 + src/surf/trace_mgr_test.cpp | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mc/sosp/PageStore_test.cpp b/src/mc/sosp/PageStore_test.cpp index d4b5954ce9..dd0b18f002 100644 --- a/src/mc/sosp/PageStore_test.cpp +++ b/src/mc/sosp/PageStore_test.cpp @@ -5,6 +5,8 @@ #define BOOST_TEST_MODULE PAGESTORE #define BOOST_TEST_DYN_LINK + +bool init_unit_test(); // boost sometimes forget to give this prototype (NetBSD and other), which does not fit our paranoid flags #include #include diff --git a/src/mc/sosp/mc_snapshot_test.cpp b/src/mc/sosp/mc_snapshot_test.cpp index 51f8b130ea..b3dfa2ff7b 100644 --- a/src/mc/sosp/mc_snapshot_test.cpp +++ b/src/mc/sosp/mc_snapshot_test.cpp @@ -5,6 +5,7 @@ #define BOOST_TEST_MODULE snapshots #define BOOST_TEST_DYN_LINK +bool init_unit_test(); // boost sometimes forget to give this prototype (NetBSD and other), which does not fit our paranoid flags #include #include diff --git a/src/surf/trace_mgr_test.cpp b/src/surf/trace_mgr_test.cpp index decf142eb6..3b64866250 100644 --- a/src/surf/trace_mgr_test.cpp +++ b/src/surf/trace_mgr_test.cpp @@ -4,7 +4,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #define BOOST_TEST_MODULE Trace Manager tests -bool init_unit_test(); // boost forget to give this prototype on NetBSD, which does not fit our paranoid flags +bool init_unit_test(); // boost sometimes forget to give this prototype (NetBSD and other), which does not fit our paranoid flags #define BOOST_TEST_DYN_LINK #define BOOST_TEST_NO_MAIN #include -- 2.20.1