[ https://issues.apache.org/jira/browse/ARROW-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Saint-Jacques resolved ARROW-6128. ------------------------------------------- Resolution: Fixed Fix Version/s: 0.15.0 Issue resolved by pull request 5001 [https://github.com/apache/arrow/pull/5001] > [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 > Fix For: 0.15.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > 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)