DigitalNoteXDN / OLD-digitalnote

Base core code for DigitalNote
11 stars 10 forks source link

Does not build on gcc6 #6

Closed diablodude closed 6 years ago

diablodude commented 6 years ago

gcc --version gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516

/home/monero/digitalnote/src/crypto/crypto.cpp: In function ‘size_t Crypto::rs_comm_size(size_t)’: /home/monero/digitalnote/src/crypto/crypto.cpp:338:58: error: value-initialization of incomplete type Crypto::rs_comm:: []’ return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]); ^ src/CMakeFiles/Crypto.dir/build.make:158: recipe for target 'src/CMakeFiles/Crypto.dir/crypto/crypto.cpp.o' failed

gldneagl commented 6 years ago

The code I downloaded and compiled on 8/20/18, (first day of new code updates), gave no such error on a fully apt updated Ubuntu-Mate 16.0.4 with an older GCC as well as four other nodes I am managing, and newer local builds with your same version of GCC.

Has this matter been resolved for you on your build?

AuCRHI commented 6 years ago

The latest code was patched to overcome that issue.