ring an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: memset(&fsid, 0, sizeof(fsid)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/include/types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/msg/Message.h:26, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/msg/Messenger.h:23, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/ObjectCacher.cc:6: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.h:41, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:15: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: memset(&fsid, 0, sizeof(fsid)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/include/types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.h:30, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:15: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.h:41, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:15: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h:585:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: memset(&fsid, 0, sizeof(fsid)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/include/types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.h:30, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:15: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/mon/MonClient.h:22, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:19: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: memset(&fsid, 0, sizeof(fsid)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/include/types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.h:30, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/osdc/Objecter.cc:15: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~