Skip to content

Build break - armel - invalid use of incomplete type 'class std::future<void> #111

@bobsummerwill

Description

@bobsummerwill
�[0m[ 75%] /home/crosseth/eth/wd/cpp-ethereum/test/libethereum/test/TestHelper.cpp: In function 'void dev::test::testMiningFunc(void (*)())':
/home/crosseth/eth/wd/cpp-ethereum/test/libethereum/test/TestHelper.cpp:1101:79: error: invalid use of incomplete type 'class std::future<void>'
   auto future = std::async(std::launch::async, &std::thread::join, &threadTest);
                                                                               ^

Looks like it's an issue with the use of std::future on this particular architecture.

This is brand new code from @winsvega for adding the dots to keep TravisCI alive, which is obviously constraining portability. We should probably do something simpler with std::thread instead.

This particular error log is for the armel cross-build (armv5) but it looks like there are probably more.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions