Skip to content

boost testsuite Signature mismatch #85

@tartarini

Description

@tartarini

pfire v0.5.0 uses a boost::test functions signature not belonging to boost 1.5.8 as declared in the Readme.
It looks that this version uses an older boost, see error below.
Using instead branch master (commit 406fdbb) the compilation works.

Excerpt of error messages:

/pFire_v0.5.0/test/test_indexing.cpp:25:56: error: macro "BOOST_FIXTURE_TEST_SUITE" passed 3 arguments, but takes just 2 25 | BOOST_FIXTURE_TEST_SUITE(indexing, im, *butf::enabled()) | ^ In file included from /home/tartarini/local/libs/boost/1.58.0/include/boost/test/unit_test.hpp:20, from /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_common.hpp:4, from /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_indexing.cpp:2: /home/tartarini/local/libs/boost/1.58.0/include/boost/test/unit_test_suite.hpp:53: note: macro "BOOST_FIXTURE_TEST_SUITE" defined here 53 | #define BOOST_FIXTURE_TEST_SUITE( suite_name, F ) \ | /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_indexing.cpp:73:59: error: macro "BOOST_AUTO_TEST_CASE" passed 2 arguments, but takes just 1 73 | BOOST_AUTO_TEST_CASE(test_unravelling, *butf::disabled()) | ^ In file included from /home/tartarini/local/libs/boost/1.58.0/include/boost/test/unit_test.hpp:20, from /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_common.hpp:4, from /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_indexing.cpp:2: /home/tartarini/local/libs/boost/1.58.0/include/boost/test/unit_test_suite.hpp:114: note: macro "BOOST_AUTO_TEST_CASE" defined here 114 | #define BOOST_AUTO_TEST_CASE( test_name ) \ | /home/tartarini/DEVELOPMENT/INSIGNEO/pFire_v0.5.0/test/test_indexing.cpp:25:1: error: ‘BOOST_FIXTURE_TEST_SUITE’ does not name a type 25 | BOOST_FIXTURE_TEST_SUITE(indexing, im, *butf::enabled())

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions