We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compiler returns an error when trying to build skaled with -DMICROPROFILE=ON
-DMICROPROFILE=ON
/home/oleh/work/skaled/libdevcore/microprofile.cpp:986:36: error: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct MicroProfile’ with no trivial copy-assignment; use value-initialization instead [-Werror=class-memaccess] 986 | memset( &S, 0, sizeof( S ) ); | ^ /home/oleh/work/skaled/libdevcore/microprofile.cpp:496:8: note: ‘struct MicroProfile’ declared here 496 | struct MicroProfile { | ^~~~~~~~~~~~ /home/oleh/work/skaled/libdevcore/microprofile.cpp: In function ‘MicroProfileThreadLog* MicroProfileCreateThreadLog(const char*)’: /home/oleh/work/skaled/libdevcore/microprofile.cpp:1136:42: error: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct MicroProfileThreadLog’ with no trivial copy-assignment; use value-initialization instead [-Werror=class-memaccess] 1136 | memset( pLog, 0, sizeof( *pLog ) );
The text was updated successfully, but these errors were encountered:
Added in 2.3 release due to it small fix and was found during work on #1640
Sorry, something went wrong.
olehnikolaiev
Successfully merging a pull request may close this issue.
compiler returns an error when trying to build skaled with
-DMICROPROFILE=ON
The text was updated successfully, but these errors were encountered: