Bitcoin Forum
May 27, 2024, 08:36:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: debian 11/bullseye deps  (Read 187 times)
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
December 09, 2021, 11:54:29 AM
 #21

I forgot to mention also, I did need to modify 'cppForSwig/TxHashFilters.h', although perhaps you already noticed this? There's a call to a non-existant assignment constructor for struct TxHashHints on ln 560 of 'TxHashFilters.cpp', so I wrote the constructor in the header file.

Code:
TxHashHints hint{hash};

This line? Initializer list should build. I'm guessing your version of gcc is older than mine (11.1). Try this maybe:

Code:
TxHashHints hint = {hash};

This is tested here:

https://github.com/goatpig/BitcoinArmory/blob/dev/cppForSwig/gtest/UtilsTests.cpp#L6545

You may want to reduce the search space, this test can be cpu hungry. ("./configure --enable-tests" to build tests)

Carlton Banks (OP)
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
December 09, 2021, 01:45:50 PM
 #22

Code:
TxHashHints hint{hash};

This line? Initializer list should build. I'm guessing your version of gcc is older than mine (11.1).


bullseye has 10.2, probably will get 10.3 in the end, if we're lucky


Try this maybe:

Code:
TxHashHints hint = {hash};

nope, gcc 10.2 won't eat it.

Vires in numeris
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!