Skip to content

Conversation

@Sjors
Copy link
Member

@Sjors Sjors commented Nov 19, 2018

#14718 caused the Travis linter machine to fail due to:

test/lint/lint-includes.sh
Good job! The Boost dependency "boost/filesystem/fstream.hpp" is no longer used.
Please remove it from EXPECTED_BOOST_INCLUDES in test/lint/lint-includes.sh
to make sure this dependency is not accidentally reintroduced.

@meshcollider
Copy link
Contributor

utACK

@Sjors
Copy link
Member Author

Sjors commented Nov 19, 2018

Travis not happy:

In file included from bitcoind.cpp:13:0:
./fs.h:89:17: error: ‘ifstream’ in namespace ‘fs’ does not name a type
     typedef fs::ifstream ifstream;
                 ^
./fs.h:90:17: error: ‘ofstream’ in namespace ‘fs’ does not name a type
     typedef fs::ofstream ofstream;
                 ^
Makefile:8901: recipe for target 'bitcoind-bitcoind.o' failed

@maflcko
Copy link
Member

maflcko commented Nov 19, 2018

Hmm :( The one time you needed travis, it wasn't running.

@maflcko
Copy link
Member

maflcko commented Nov 19, 2018

@kallewoof
Copy link
Contributor

kallewoof commented Nov 20, 2018

Yeah, looks like you need

#include <boost/filesystem/fstream.hpp>

in fs.h for some architectures (e.g. Debian Jessie PPC).

@meshcollider
Copy link
Contributor

Closing in favour of #14768

laanwj added a commit that referenced this pull request Nov 20, 2018
e816b34 revert removal of fstream.hpp header in fs.h (Karl-Johan Alm)

Pull request description:

  We cannot (yet) remove the EXPECTED_BOOST_INCLUDES entry as this header is still needed in `fs.h` (see #14763).

  Partially reverts #14718.

Tree-SHA512: e94d8d6208bee14af20a7a529e60a4898358ec8c070a8bf0701e589a2ae33df1305deac83cee619f103c24be0eb3c12a2f490209c125b247acf21561c7de456e
@Sjors Sjors deleted the 2018/11/expected_boost_includes branch November 20, 2018 13:16
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Aug 11, 2021
e816b34 revert removal of fstream.hpp header in fs.h (Karl-Johan Alm)

Pull request description:

  We cannot (yet) remove the EXPECTED_BOOST_INCLUDES entry as this header is still needed in `fs.h` (see bitcoin#14763).

  Partially reverts bitcoin#14718.

Tree-SHA512: e94d8d6208bee14af20a7a529e60a4898358ec8c070a8bf0701e589a2ae33df1305deac83cee619f103c24be0eb3c12a2f490209c125b247acf21561c7de456e
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants