Skip to content

Commit 6bbd669

Browse files
committed
Tweaks
Change-Id: I04a99b218bb38e0472d71414898840e6f6d8cf7f
1 parent e2e86b5 commit 6bbd669

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ CHECK_CXX_COMPILER_FLAG("-maltivec" CXX_SUPPORTS_ALTIVEC)
114114

115115
# compiler flags that are common across debug/release builds
116116
# - Wall: Enable all warnings.
117-
set(CXX_COMMON_FLAGS "-std=c++11 -Wall -Werror")
117+
set(CXX_COMMON_FLAGS "-std=c++11 -Wall")
118118

119119
# Only enable additional instruction sets if they are supported
120120
if (CXX_SUPPORTS_SSE3 AND ARROW_SSE3)

cpp/src/arrow/ipc/json-internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ using RjWriter = rj::Writer<rj::StringBuffer>;
4040
namespace arrow {
4141
namespace ipc {
4242

43+
// TODO(wesm): Only exporting these because arrow_ipc does not have a static
44+
// library at the moment. Better to not export
4345
Status ARROW_EXPORT WriteJsonSchema(const Schema& schema, RjWriter* json_writer);
4446
Status ARROW_EXPORT WriteJsonArray(
4547
const std::string& name, const Array& array, RjWriter* json_writer);

cpp/src/arrow/types/list-test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ TEST(TypesTest, TestListType) {
4646
ListType list_type(vt);
4747
ASSERT_EQ(list_type.type, Type::LIST);
4848

49+
ASSERT_EQ(list_type.name(), string("list"));
4950
ASSERT_EQ(list_type.ToString(), string("list<item: uint8>"));
5051

5152
ASSERT_EQ(list_type.value_type()->type, vt->type);

0 commit comments

Comments
 (0)