Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to fix the build on centos
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 4 Jul 2018 20:36:56 +0000 (22:36 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 4 Jul 2018 20:37:07 +0000 (22:37 +0200)
src/mc/sosp/PageStore_test.cpp
src/mc/sosp/mc_snapshot_test.cpp
src/surf/trace_mgr_test.cpp

index d4b5954..dd0b18f 100644 (file)
@@ -5,6 +5,8 @@
 
 #define BOOST_TEST_MODULE PAGESTORE
 #define BOOST_TEST_DYN_LINK
 
 #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 <boost/test/unit_test.hpp>
 
 #include <cstdint>
 #include <boost/test/unit_test.hpp>
 
 #include <cstdint>
index 51f8b13..b3dfa2f 100644 (file)
@@ -5,6 +5,7 @@
 
 #define BOOST_TEST_MODULE snapshots
 #define BOOST_TEST_DYN_LINK
 
 #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 <boost/test/unit_test.hpp>
 
 #include <cstdlib>
 #include <boost/test/unit_test.hpp>
 
 #include <cstdlib>
index decf142..3b64866 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #define BOOST_TEST_MODULE Trace Manager tests
  * 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 <boost/test/unit_test.hpp>
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 #include <boost/test/unit_test.hpp>