Skip to content

Instantly share code, notes, and snippets.

@kallewoof
Created October 22, 2018 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kallewoof/420006d18045cffe56ffc541ddbe3984 to your computer and use it in GitHub Desktop.
Save kallewoof/420006d18045cffe56ffc541ddbe3984 to your computer and use it in GitHub Desktop.
On Debian Jessie PowerPC (Big endian) system (endianness probably unrelated):
```
wallet/walletutil.cpp: In function ‘std::vector<boost::filesystem::path> ListWalletDir()’:
wallet/walletutil.cpp:57:78: error: ‘end’ was not declared in this scope
for (auto it = fs::recursive_directory_iterator(wallet_dir); it != end(it); ++it) {
^
wallet/walletutil.cpp:57:78: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/basic_string.h:42:0,
from /usr/include/c++/4.9/string:52,
from ./fs.h:9,
from ./wallet/walletutil.h:8,
from wallet/walletutil.cpp:5:
/usr/include/c++/4.9/initializer_list:99:5: note: ‘std::end’
end(initializer_list<_Tp> __ils) noexcept
^
wallet/walletutil.cpp:60:32: error: ‘relative’ is not a member of ‘fs’
paths.emplace_back(fs::relative(it->path(), wallet_dir));
^
wallet/walletutil.cpp:71:36: error: ‘relative’ is not a member of ‘fs’
paths.emplace_back(fs::relative(it->path(), wallet_dir));
^
Makefile:6919: recipe for target 'wallet/libbitcoin_wallet_a-walletutil.o' failed
make[2]: *** [wallet/libbitcoin_wallet_a-walletutil.o] Error 1
make[2]: Leaving directory '/root/workspace/bitcoin/src'
Makefile:10219: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/workspace/bitcoin/src'
Makefile:697: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment