Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.10.0 Alpha
-
None
-
Archlinux, GCC 7.1.1, glibc 2.25
Description
When trying to compile the current dev branch, I get:
global/qrandom.cpp: In static member function ‘static qssize_t {anonymous}::SystemRandom::fillBuffer(void*, qssize_t)’: global/qrandom.cpp:132:19: error: ignoring return value of ‘int getentropy(void*, size_t)’, declared with attribute warn_unused_result [-Werror=unused-result] getentropy(reinterpret_cast<uchar *>(buffer) + read, count - read); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~