Currently, importing these generates a lot of warning: unused function, so we move the impl to their own cpp files, and turn intmath.h into just a normal header file without impl.
Details
Details
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- move-intmath-header
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 30832 Build 61177: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang Build 61176: arc lint + arc unit
Event Timeline
src/script/intmath.cpp | ||
---|---|---|
1 | ||
4 | nope | |
10 | move it first: #include <script/intmath.h> #include <cstdlib> #include <limits> | |
26 | This probably never worked to begin with, because you're missing the config include snippet: #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif | |
60 | dito | |
src/script/intmath.h | ||
7 | I don't think you need this one, but you might want cstdint |