You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/04 00:14:00 UTC

[jira] [Updated] (ARROW-6128) [C++] Can't build with g++ 8.3.0 by class-memaccess warning

     [ https://issues.apache.org/jira/browse/ARROW-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-6128:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>
> 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)