Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost testsuite Signature mismatch #85

Open
tartarini opened this issue Sep 25, 2020 · 0 comments
Open

boost testsuite Signature mismatch #85

tartarini opened this issue Sep 25, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tartarini
Copy link
Collaborator

tartarini commented Sep 25, 2020

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())

@tartarini tartarini added the bug Something isn't working label Sep 25, 2020
@tartarini tartarini added this to the release_2021.1 milestone Sep 25, 2020
@tartarini tartarini self-assigned this Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant