Control: forwarded -1 https://github.com/msgpack/msgpack-c/pull/659
Control: tag -1 fixed-upstream

On Fri, May 04, 2018 at 12:22:47PM +0000, Matthias Klose wrote:
> [...]
>                  from 
> /<<PKGBUILDDIR>>/example/cpp03/class_non_intrusive.cpp:16:
> /<<PKGBUILDDIR>>/include/msgpack/v1/object.hpp: In function 'void 
> msgpack::v1::operator<<(msgpack::v2::object&, const msgpack_object&)':
> /<<PKGBUILDDIR>>/include/msgpack/v1/object.hpp:652:34: error: 'void* 
> memcpy(void*, const void*, size_t)' copying an object of non-trivial type 
> 'struct msgpack::v2::object' from an array of 'const msgpack_object' {aka 
> 'const struct msgpack_object'} [-Werror=class-memaccess]
>      std::memcpy(&o, &v, sizeof(v));
>                                   ^

This was recently reported, and fixed, upstream.  I've asked them to
make a release with the fix, but if that doesn't happen soon I'll
backport the patch.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to