<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ -->
<!-- Describe the issue -->
Running src/test/minisketch_test.cpp gives fatal error.
<!--- What behavior did you expect? -->
What behavior did you expect? All tests pass
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
What was the actual behavior (provide screenshots if the issue is GUI-related)?
./test_bitcoin --run_test=minisketch_tests
Running 1 test case...
unknown location(0): fatal error: in "minisketch_tests/minisketch_test": C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\optional(370) : Assertion failed: Cannot access value of empty optional
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
How reliably can you reproduce the issue, what are the steps to do so?
- Build
test_bitcoinproject using visual studio 2022. - run
./test_bitcoin --run_test=minisketch_tests
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)?
compiled src/tests/minisketch_tests.cpp from master branch using msvc compiler from Visual Studio 2022.
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
What type of machine are you observing the error on (OS/CPU and disk type)? OS: Windows 10 Home Disk: 500GB SSD RAM: 16GB
<!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->
<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->