mirror of
https://github.com/monero-project/monero.git
synced 2025-11-28 10:01:51 -05:00
Compilation of bitmonero on Arch with gcc 6.1 results in the following
error:
/home/mwo/bitmonero/tests/unit_tests/hardfork.cpp: In member function ‘virtual void TestDB::set_hard_fork_version(uint64_t, uint8_t)’:
/home/mwo/bitmonero/tests/unit_tests/hardfork.cpp:132:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if (versions.size() <= height) versions.resize(height+1); versions[height] = version;
This can be fixed by simply unfolding this line into three lines.
|
||
|---|---|---|
| .. | ||
| address_from_url.cpp | ||
| ban.cpp | ||
| base58.cpp | ||
| block_reward.cpp | ||
| blockchain_db.cpp | ||
| canonical_amounts.cpp | ||
| chacha8.cpp | ||
| checkpoints.cpp | ||
| CMakeLists.txt | ||
| decompose_amount_into_digits.cpp | ||
| dns_resolver.cpp | ||
| epee_boosted_tcp_server.cpp | ||
| epee_levin_protocol_handler_async.cpp | ||
| get_xtype_from_string.cpp | ||
| hardfork.cpp | ||
| main.cpp | ||
| mnemonics.cpp | ||
| mul_div.cpp | ||
| parse_amount.cpp | ||
| serialization.cpp | ||
| slow_memmem.cpp | ||
| test_format_utils.cpp | ||
| test_peerlist.cpp | ||
| test_protocol_pack.cpp | ||
| unbound.cpp | ||
| unit_tests_utils.h | ||
| varint.cpp | ||