Skip to content

Commit

Permalink
1689 fix microprofile option
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Oct 10, 2023
1 parent f10195c commit fed1457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions libdevcore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ add_library(devcore ${sources} ${headers})
add_dependencies(devcore secp256k1)

target_compile_options( devcore PRIVATE
-Wno-error=deprecated-copy -Wno-error=unused-result -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=maybe-uninitialized
)
-Wno-error=deprecated-copy -Wno-error=unused-result -Wno-error=unused-parameter
-Wno-error=unused-variable -Wno-error=maybe-uninitialized -Wno-error=class-memaccess
)

# Needed to prevent including system-level boost headers:
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIR} PRIVATE ../utils)
Expand Down
2 changes: 1 addition & 1 deletion skaled/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ int main( int argc, char** argv ) try {
cc::_on_ = false;
cc::_max_value_size_ = 2048;
MicroProfileSetEnableAllGroups( true );
dev::setThreadName( "main" );
BlockHeader::useTimestampHack = false;
srand( time( nullptr ) );
setCLocale();
Expand Down Expand Up @@ -2773,7 +2774,6 @@ int main( int argc, char** argv ) try {
<< cc::debug( "Done, programmatic shutdown via Web3 is disabled" );
}

dev::setThreadName( "main" );
if ( g_client ) {
unsigned int n = g_client->blockChain().details().number;
unsigned int mining = 0;
Expand Down

0 comments on commit fed1457

Please sign in to comment.