Permalink
Browse files

Introduce -Wall flag, and fix compiler warnings (#77)

* Introduce -Wall flag, and fix compiler warnings

* Fix clang format errors

* Fix typo in include files

* Fix cpplint and clang-format errors.

* Fix include header order

* add missing header (#78)

* Introduce -Wall flag, and fix compiler warnings

* Fix clang format errors

* Fix typo in include files

* Fix cpplint and clang-format errors.

* Fix include header order

* Fix clang format

* Removed unnecessary type cast

* Removed type cast around score
  • Loading branch information...
amit-cliqz committed May 4, 2018
1 parent 4e84ab4 commit 61da211ac90f9cbbba2e13aab2fee156f15f5fb9
@@ -8,7 +8,7 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2 -Wall")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -DNDEBUG")
@@ -82,4 +82,4 @@ add_custom_target(bindings
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:tpie> ${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:tiny-process-library> ${CMAKE_BINARY_DIR}
DEPENDS tpie tiny-process-library
)
)
@@ -91,7 +91,6 @@ int main(int argc, char** argv) {
for (auto f : input_files) {
if (boost::filesystem::is_directory(f)) {
int files_added = 0;
for (auto& entry : boost::make_iterator_range(boost::filesystem::directory_iterator(f), {})) {
if (entry.path().extension() == ".kv") {
inputs.push_back(entry.path().string());
Oops, something went wrong.

0 comments on commit 61da211

Please sign in to comment.