You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/06/15 01:35:00 UTC
[jira] [Resolved] (ARROW-5615) [C++] Compilation error due to C++11
string literals on gcc 5.4.0 Ubuntu 16.04
[ https://issues.apache.org/jira/browse/ARROW-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-5615.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 4579
[https://github.com/apache/arrow/pull/4579]
> [C++] Compilation error due to C++11 string literals on gcc 5.4.0 Ubuntu 16.04
> ------------------------------------------------------------------------------
>
> Key: ARROW-5615
> URL: https://issues.apache.org/jira/browse/ARROW-5615
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> I'm seeing this locally from {{docker-compose run cpp-ubuntu-xenial}}
> {code}
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:543:9: error: missing terminating " character [-Werror]
> ASSERT_OK(ArrayFromJSON(type, R"delim(
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:543:2: error: missing terminating " character
> ASSERT_OK(ArrayFromJSON(type, R"delim(
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:550:1: error: stray '\' in program
> )delim",
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:617:9: error: missing terminating " character [-Werror]
> ASSERT_OK(ArrayFromJSON(type, R"delim(
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:617:2: error: missing terminating " character
> ASSERT_OK(ArrayFromJSON(type, R"delim(
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:622:9: error: stray '\' in program
> [null, "empty"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:622:17: error: missing terminating " character [-Werror]
> [null, "empty"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:622:9: error: missing terminating " character
> [null, "empty"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:630:9: error: stray '\' in program
> ["bootstrapping tautology?", "lispy", null, "i can see eternity"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:630:11: error: missing terminating " character [-Werror]
> ["bootstrapping tautology?", "lispy", null, "i can see eternity"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:630:9: error: missing terminating " character
> ["bootstrapping tautology?", "lispy", null, "i can see eternity"]
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:635:1: error: stray '\' in program
> )delim",
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc: In member function 'virtual void arrow::ipc::internal::json::TestMap_IntegerToInteger_Test::TestBody()':
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:544:1: error: two consecutive '[' shall only introduce an attribute before '[' token
> [
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:544:1: error: return-statement with a value, in function returning 'void' [-fpermissive]
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:544:1: error: expected ';' before '[' token
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:545:6: error: expected ']' before '[' token
> [[0, 1], [1, 1], [2, 2], [3, 3], [4, 5], [5, 8]],
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc: In member function 'virtual void arrow::ipc::internal::json::TestMap_IntegerMapToStringList_Test::TestBody()':
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:618:1: error: two consecutive '[' shall only introduce an attribute before '[' token
> [
> ^
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:618:1: error: return-statement with a value, in function returning 'void' [-fpermissive]
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:618:1: error: expected ';' before '[' token
> /arrow/cpp/src/arrow/ipc/json-simple-test.cc:620:7: error: expected ']' before '[' token
> [
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)