-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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
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]
Metadata
Metadata
Assignees
Labels
No labels