Hennadii Stepanov

Results 182 issues of Hennadii Stepanov

Providing `-DCMAKE_BUILD_TYPE=Coverage` does not work for multi-config generators. For example: ``` $ cmake -S . -B ../build -G "Ninja Multi-Config" $ cmake --build ../build -C Coverage ``` still builds the...

build

Some compilers ([GCC](https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html)) produce no diagnostic for `-Wno-some-warning` unless other diagnostics are being produced: ``` $ git diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 240557f..f976824 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@...

build

Closes https://github.com/bitcoin-core/secp256k1/issues/1308.

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behaviour bitcoin-qt crashed while loading wallets at startup. I used to see...

Apple suggests to use [`UNUserNotificationCenter`](https://developer.apple.com/documentation/usernotifications/unusernotificationcenter?language=objc) instead of [deprecated](https://developer.apple.com/forums/thread/107878) [`NSUserNotificationCenter`](https://developer.apple.com/documentation/foundation/nsusernotificationcenter?language=objc). I've played (on macOS 10.15) a bit with `UNUserNotificationCenter` and always getting the authorization error "Notifications are not allowed for this...

Brainstorming
macOS

**Expected behavior** I want my Bitcoin Core node to *never* prune the blockchain. **Actual behavior** Occasionally, Bitcoin Core will enable the pruning option. This causes it to prune the blockchain,...

Bug

This PR makes possible to cross-compile for Windows using the MinGW-w64 toolchain as follows: ``` cmake -B build -DSUBPROCESS_TESTS=ON -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++-posix cmake --build build ``` This PR supersedes https://github.com/arun11299/cpp-subprocess/pull/63.

This change is useful for downstream projects, which rely on spell-checking linters, such as [codespell](https://github.com/codespell-project/codespelll). Might be tested as follows: ``` codespell subprocess.hpp ```

The code being tested is C++ only:https://github.com/arun11299/cpp-subprocess/blob/4025693decacaceb9420efedbf4967a04cb028e7/CMakeLists.txt#L2

``` % cat test.cpp #include int main() { double foo = -0.0; double bar = 0.0; return std::is_eq(foo bar); } % clang++ -std=c++20 test.cpp test.cpp:7:15: error: no member named 'is_eq'...

macOS
Build system
Upstream