Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling with modern gcc #1

Open
make-all opened this issue Jan 5, 2020 · 1 comment
Open

Error compiling with modern gcc #1

make-all opened this issue Jan 5, 2020 · 1 comment

Comments

@make-all
Copy link

make-all commented Jan 5, 2020

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]

@amonaco
Copy link

amonaco commented May 7, 2023

This project is dead, unmaintained, lost in oblivion. Refrain from working with this code. It should be archived... Was this the future of IoT? Well, last commit is 6 years ago. That's your future AllJoyn / AllSeen Alliance. An engineering disgrace!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants