Due to improvements in preventing unsafe memory access in gcc 8, the following code now gives a warning, which due to the compile options used is translated to an error and halts compilation.
|
memset(&sig, 0, sizeof(ECCSignature)); |
build/linux/arm/debug/dist/cpp/inc/qcc/KeyInfoECC.h:140:45: error: 'void* memset(void*, int, size_t)' clearing an object of type 'struct qcc::ECCSignature' with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]
Due to improvements in preventing unsafe memory access in gcc 8, the following code now gives a warning, which due to the compile options used is translated to an error and halts compilation.
core-alljoyn/common/inc/qcc/KeyInfoECC.h
Line 140 in 103b083
build/linux/arm/debug/dist/cpp/inc/qcc/KeyInfoECC.h:140:45: error: 'void* memset(void*, int, size_t)' clearing an object of type 'struct qcc::ECCSignature' with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]