Browse Source

Fixed windows build errors.

cl-refactor
Tim Hughes 11 years ago
parent
commit
246eba2869
  1. 2
      libethereum/State.cpp
  2. 2
      windows/LibEthereum.props

2
libethereum/State.cpp

@ -856,7 +856,7 @@ bool State::isTrieGood()
TrieDB<h256, Overlay> storageDB(&m_db, r[2].toHash<h256>());
try
{
for (auto const& j: storageDB) {}
for (auto const& j: storageDB) { j; }
}
catch (InvalidTrie)
{

2
windows/LibEthereum.props

@ -11,7 +11,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<DisableSpecificWarnings>4068;4127;4258;4244;4267;4505;4512;4706;4714</DisableSpecificWarnings>
<DisableSpecificWarnings>4068;4100;4127;4258;4244;4267;4505;4512;4706;4714</DisableSpecificWarnings>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>false</MinimalRebuild>

Loading…
Cancel
Save