-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
/home/mark/toastbrotcoin/src/crypto/chacha8.h: In function ‘void Crypto::generate_chacha8_key(Crypto::cn_context&, const string&, Crypto::chacha8_key&)’: /home/mark/toastbrotcoin/src/crypto/chacha8.h:48:40: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Crypto::chacha8_key’; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] 48 | memcpy(&key, &pwd_hash, sizeof(key)); | ^ /home/mark/toastbrotcoin/src/crypto/chacha8.h:23:10: note: ‘struct Crypto::chacha8_key’ declared here 23 | struct chacha8_key { | ^~~~~~~~~~~
Hello,
I tried to solve the problem with reinstalling gcc...
I installed boost with sudo apt install libboost-all-dev
Can anyone help me?