Commit 79755a48 authored by Constantin Pohl's avatar Constantin Pohl
Browse files

minor fixes

parent 2f4f265f
......@@ -99,7 +99,7 @@ if(USE_ROCKSDB_TABLE)
# RocksDB key-value store
download_project(PROJ rocksdb
GIT_REPOSITORY https://github.com/facebook/rocksdb
GIT_TAG master
GIT_TAG v5.1.4
UPDATE_DISCONNECTED 1
QUIET
)
......
......@@ -68,6 +68,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Wno-deprecated -g -O3
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-local-typedefs -Wno-#pragma-messages")
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
# Require at least gcc version 5.4 ("?")
#if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.4)
# message(FATAL_ERROR "GCC version must be at least 5.4!")
#endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-local-typedefs -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -Wno-unused")
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -wd488 -wd597")
......
......@@ -26,6 +26,7 @@
#include <string>
#include <thread>
#include <vector>
#include <mutex>
#include <boost/unordered/unordered_map.hpp>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment