You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Sutou Kouhei (JIRA)" <ji...@apache.org> on 2019/08/04 00:13:00 UTC
[jira] [Created] (ARROW-6128) [C++] Can't build with g++ 8.3.0 by
class-memaccess warning
Sutou Kouhei created ARROW-6128:
-----------------------------------
Summary: [C++] Can't build with g++ 8.3.0 by class-memaccess warning
Key: ARROW-6128
URL: https://issues.apache.org/jira/browse/ARROW-6128
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Sutou Kouhei
Assignee: Sutou Kouhei
This is caused by ARROW-5527.
{noformat}
src/arrow/util/hashing.h:313:11: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct arrow::internal::HashTable<arrow::internal::ScalarMemoTable<nonstd::sv_lite::basic_string_view<char>, arrow::internal::HashTable>::Payload>::Entry'; use assignment or value-initialization instead [-Werror=class-memaccess]
memset(entries_, 0, capacity * sizeof(Entry));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/arrow/util/hashing.h:197:10: note: 'struct arrow::internal::HashTable<arrow::internal::ScalarMemoTable<nonstd::sv_lite::basic_string_view<char>, arrow::internal::HashTable>::Payload>::Entry' declared here
struct Entry {
^~~~~
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)