Browse Source

Warnings fixes.

cl-refactor
Gav Wood 10 years ago
parent
commit
5449419e94
  1. 5
      libdevcore/Guards.h
  2. 5
      libdevcore/Log.h
  3. 5
      libethereum/BasicGasPricer.cpp
  4. 5
      libevmasm/KnownState.h

5
libdevcore/Guards.h

@ -24,7 +24,12 @@
#include <mutex> #include <mutex>
#include <condition_variable> #include <condition_variable>
#include <atomic> #include <atomic>
#pragma warning(push)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/thread.hpp> #include <boost/thread.hpp>
#pragma warning(pop)
#pragma GCC diagnostic pop
namespace dev namespace dev
{ {

5
libdevcore/Log.h

@ -25,7 +25,12 @@
#include <ctime> #include <ctime>
#include <chrono> #include <chrono>
#pragma warning(push)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/thread.hpp> #include <boost/thread.hpp>
#pragma warning(pop)
#pragma GCC diagnostic pop
#include "vector_ref.h" #include "vector_ref.h"
#include "Common.h" #include "Common.h"
#include "CommonIO.h" #include "CommonIO.h"

5
libethereum/BasicGasPricer.cpp

@ -19,7 +19,12 @@
* @date 2015 * @date 2015
*/ */
#pragma warning(push)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/math/distributions/normal.hpp> #include <boost/math/distributions/normal.hpp>
#pragma warning(pop)
#pragma GCC diagnostic pop
#include "BasicGasPricer.h" #include "BasicGasPricer.h"
#include "BlockChain.h" #include "BlockChain.h"
using namespace std; using namespace std;

5
libevmasm/KnownState.h

@ -29,7 +29,12 @@
#include <tuple> #include <tuple>
#include <memory> #include <memory>
#include <ostream> #include <ostream>
#pragma warning(push)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredeclared-class-member"
#include <boost/bimap.hpp> #include <boost/bimap.hpp>
#pragma warning(pop)
#pragma GCC diagnostic pop
#include <libdevcore/CommonIO.h> #include <libdevcore/CommonIO.h>
#include <libdevcore/Exceptions.h> #include <libdevcore/Exceptions.h>
#include <libevmasm/ExpressionClasses.h> #include <libevmasm/ExpressionClasses.h>

Loading…
Cancel
Save