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>()); TrieDB<h256, Overlay> storageDB(&m_db, r[2].toHash<h256>());
try try
{ {
for (auto const& j: storageDB) {} for (auto const& j: storageDB) { j; }
} }
catch (InvalidTrie) catch (InvalidTrie)
{ {

2
windows/LibEthereum.props

@ -11,7 +11,7 @@
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile> <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> <WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError> <TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>false</MinimalRebuild> <MinimalRebuild>false</MinimalRebuild>

Loading…
Cancel
Save