WillAyd opened a new issue, #41891:
URL: https://github.com/apache/arrow/issues/41891
### Describe the bug, including details regarding any error messages,
version, and platform.
When going through a POC with Meson I noticed the following types of
warnings appearing in a standard build:
```sh
../subprojects/rapidjson-1.1.0/include/rapidjson/document.h:1952:24:
warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of
type ‘arrow::rapidjson::GenericValue<arrow::rapidjson::UTF8<> >::Member’ {aka
‘struct arrow::rapidjson::GenericMember<arrow::rapidjson::UTF8<>,
arrow::rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment;
use copy-assignment instead [-Wclass-memaccess]
1952 | std::memcpy(m, members, count * sizeof(Member));
...
../src/arrow/util/utf8_internal.h:185:44: warning: this statement may fall
through [-Wimplicit-fallthrough=]
185 | state = internal::ValidateOneUTF8Byte(data[size - 7], state);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../src/arrow/util/utf8_internal.h:186:5: note: here
186 | case 6:
| ^~~~
../src/arrow/util/utf8_internal.h:187:44: warning: this statement may fall
through [-Wimplicit-fallthrough=]
187 | state = internal::ValidateOneUTF8Byte(data[size - 6], state);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../src/arrow/util/utf8_internal.h:188:5: note: here
188 | case 5:
```
Should be easy enough to clean up
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]