disable warnings on xlntarrow.cpp for now

This commit is contained in:
Thomas Fussell 2017-07-12 00:40:34 -07:00
parent 7c333ad923
commit 2949863c77
2 changed files with 3 additions and 6 deletions

View File

@ -64,7 +64,9 @@ file(GLOB WORKSHEET_HEADERS ${XLNT_INCLUDE_DIR}/xlnt/worksheet/*.hpp)
file(GLOB WORKSHEET_SOURCES ${XLNT_SOURCE_DIR}/worksheet/*.cpp)
if(NOT ARROW)
list(REMOVE_ITEM UTILS_SOURCES ${XLNT_SOURCE_DIR}/utils/xlntarrow.cpp)
list(REMOVE_ITEM UTILS_SOURCES ${XLNT_SOURCE_DIR}/utils/xlntarrow.cpp)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set_source_files_properties(${XLNT_SOURCE_DIR}/utils/xlntarrow.cpp PROPERTIES COMPILE_FLAGS "-w")
endif()
file(GLOB DETAIL_ROOT_HEADERS ${XLNT_SOURCE_DIR}/detail/*.hpp)

View File

@ -1,9 +1,4 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wsign-conversion"
#pragma clang diagnostic ignored "-Wswitch-enum"
#pragma clang diagnostic ignored "-Wshadow"
#include <arrow/api.h>
#pragma clang diagnostic pop
#include <xlnt/cell/cell.hpp>
#include <xlnt/cell/cell_reference.hpp>