Browse Source

Fixing EVMJIT build on Mac OS

cl-refactor
Paweł Bylica 10 years ago
parent
commit
d382f9a98f
  1. 1
      libevmjit/ExecStats.h
  2. 2
      libevmjit/preprocessor/llvm_includes_end.h
  3. 4
      libevmjit/preprocessor/llvm_includes_start.h

1
libevmjit/ExecStats.h

@ -1,5 +1,6 @@
#pragma once
#include <string>
#include <chrono>
#include "ExecutionEngine.h"

2
libevmjit/preprocessor/llvm_includes_end.h

@ -1,5 +1,7 @@
#if defined(_MSC_VER)
#pragma warning(pop)
#elif defined(__clang__)
#pragma clang diagnostic pop
#else
#pragma GCC diagnostic pop
#endif

4
libevmjit/preprocessor/llvm_includes_start.h

@ -1,6 +1,10 @@
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable: 4267 4244 4800)
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter
#pragma clang diagnostic ignored "-Wconversion"
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

Loading…
Cancel
Save