Closed theMarix closed 6 months ago
Not sure what to do about that lint error. It fails because I supposedly added a dependency on Boost Arrray. However, that dependency was already used, I only seem to have to have made it explicit by adding the proper include.
Ah. There is something we have to change in the linter config files to fix this. I will take a look. :)
Hey @theMarix. I think if you add this dependency to Gridcoin-Research/test/lint/lint-includes.sh under the section EXPECTED_BOOST_INCLUDES it should clear the lint error.
Hey @theMarix. I think if you add this dependency to Gridcoin-Research/test/lint/lint-includes.sh under the section EXPECTED_BOOST_INCLUDES it should clear the lint error.
I'll give it a try. Thanks!
Hey @theMarix. I think if you add this dependency to Gridcoin-Research/test/lint/lint-includes.sh under the section EXPECTED_BOOST_INCLUDES it should clear the lint error.
I'll give it a try. Thanks!
@jamescowens , thanks for the hint. Tests are now passing.
With Boost 1.84 the Boost Array header no longer seems to be implicitly included by other Boost headers we are using. Thus, our usages of boost::array run into an incomplete type.
This includes boost/array.hpp everywhere we explicitly use boost::array to ensure we do not depend on implicit includes.