Browse Source

Fix/disable warnings in CPP bridge

cl-refactor
Paweł Bylica 10 years ago
parent
commit
a61449359b
  1. 2
      evmjit/CMakeLists.txt
  2. 1
      evmjit/libevmjit-cpp/Env.cpp
  3. 1
      evmjit/libevmjit-cpp/JitVM.cpp

2
evmjit/CMakeLists.txt

@ -7,7 +7,7 @@ set(CMAKE_AUTOMOC OFF)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
else()
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wconversion")
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wconversion -Wno-unknown-pragmas")
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")

1
evmjit/libevmjit-cpp/Env.cpp

@ -1,4 +1,5 @@
#pragma GCC diagnostic ignored "-Wconversion"
#include <libdevcrypto/SHA3.h>
#include <libevm/FeeStructure.h>
#include <libevm/ExtVMFace.h>

1
evmjit/libevmjit-cpp/JitVM.cpp

@ -1,4 +1,5 @@
#pragma GCC diagnostic ignored "-Wconversion"
#include "JitVM.h"
#include <libevm/VM.h>
#include <libevm/VMFactory.h>

Loading…
Cancel
Save