-
-
Notifications
You must be signed in to change notification settings - Fork 361
fix all compilation warnings #1618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Updated preprocessor checks to use defined macros (Wundef). - Fixed header guards for SECP256K1* (removing _ at the begining because of Wreserved-id-macro / Wreserved-identifier)
- Reordering initiaization order. - Removing unnecessary use of std::move. - Adding missed default operators for classes. - Removing unnecessary namespace. - Adding univalue to bitcoin_util and bitcoin_consensus - Define SECP256K1_BUILD=1 in cmake and use it as header guard for secp256k1.c.
- Creating rpcdump header file for more clarity. - Removing extern or forward declaration and including related header files if needed.
…nused variables/functions.
- Removing unnecessary lock, preventing double locks. - Adding necesarry lock.
… Wrange-loop-analysis. - Renaming compat_macros.h to compat_layer.h. - Creating the `cmp` namespace in `compat_layer.h` with comparison functions and replacing plain comparisons (e.g., `a < b`) with functions defined in `cmp` for ensuring correct comparisons between different types. - Added C++17 requirement to secp256k1 configure.ac - Change some types instead of changing the comparisons.
- Fix Wgnu-folding-constant by moving definition outside of the class. - Fix Wmismatched-tag by changing some classes to struct. - Fix Wbraced-scalar-init by removing initializer list on a pointer.
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 89 files out of 296 files are above the max files limit of 200. You can disable this status message by setting the ✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
d419da4
to
9f90a21
Compare
Updated the PR. Only fixed the merge conflict [1] caused by [2]. No other changes. |
PR intention
Fixing compilation warnings.