-
Notifications
You must be signed in to change notification settings - Fork 454
[CDRIVER-5859] Enable sign-compare warnings globally, and fix them all #1856
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
Merged
vector-of-bool
merged 29 commits into
mongodb:master
from
vector-of-bool:CDRIVER-5859-sign-compare
Mar 7, 2025
Merged
Changes from 22 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c763a73
Add a statement macro that can assert SIGABRT
vector-of-bool 4e96ea1
New test assertion macro
vector-of-bool e830cf5
Integer range looping macro.
vector-of-bool 93efe4d
Looping over arrays
vector-of-bool 0ba76cf
Replace all sign-compare loops with macro loops.
vector-of-bool d01e7f6
Integer encoding utilities.
vector-of-bool 95dc627
Use integer decoding functions throughout the codebase
vector-of-bool b689d49
Enable sign-compare warnings globally, and fix every occurrence
vector-of-bool f60b519
Loop state introspection
vector-of-bool 3517a38
Fix warnings in libressl writev
vector-of-bool 474a83b
Fix minor sign-conversion/compare warnings related to prior changes
vector-of-bool b3f47ea
Mark more test fns as static
vector-of-bool 5de3128
Fix stop condition in decimal128 formatting
vector-of-bool 1ae546c
Fix: Don't reinit servers in teardown
vector-of-bool b948d53
Dead-write warnings
vector-of-bool 97035f3
Speeling
vector-of-bool d056319
Need a null terminator in a string array
vector-of-bool f05fb24
[fixup] Another sign-compare on Windows
vector-of-bool a05f2ae
[fixup] sign-compare in old openssl compat region
vector-of-bool fafeb78
[fixup] sign-compare on mingw
vector-of-bool 379c5e6
Work around bizarre VS 2017 bug
vector-of-bool ffd0e25
[fixup] format
vector-of-bool d0920e3
[fixup] sign-compare for secure-transport
vector-of-bool 4cfdb75
Tweak spelling on ptr_eq and str_eq checks
vector-of-bool fa67b89
Speeling
vector-of-bool cad1540
Fix: Int-decoding functions had endian swap on the "unoptimized" branch
vector-of-bool e4c7564
Merge branch 'master' into CDRIVER-5859-sign-compare
vector-of-bool 5afa69d
fomatting
vector-of-bool 1ebc3d3
Merge branch 'master' into CDRIVER-5859-sign-compare
vector-of-bool File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.