Skip to content
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

Fix: bmqp messageproperties Wconv warns #273

Merged
merged 3 commits into from
May 7, 2024

Conversation

melvinhe
Copy link
Contributor

@melvinhe melvinhe commented May 6, 2024

*Issue number of the reported bug or feature request: #87 *

Describe your changes
This PR is straightforward, addressing several ‘-Wconversion‘ errors relating to ‘bmqp_messageproperties.cpp‘ as well as associated header and test files with appropriate casting.

Testing performed
Double-checked that there's no data loss or overflow for each update. We had either checked sizes with assertions beforehand or the term was originally constrained to be of a relatively small size.

@melvinhe melvinhe requested a review from a team as a code owner May 6, 2024 07:04
@melvinhe
Copy link
Contributor Author

melvinhe commented May 6, 2024

These files are also highly-referenced so I these changes to appear to remove around 1,169 or so occurrences of '-Wconversion' in Build [ubuntu]. With the Build logs errs down to only 3,682 after #257 gets merged, we should have around 2,513 left and be pretty close to clearing issue #87.

Copy link
Collaborator

@pniedzielski pniedzielski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@pniedzielski pniedzielski merged commit 7cba2e1 into bloomberg:main May 7, 2024
13 checks passed
alexander-e1off pushed a commit to alexander-e1off/blazingmq that referenced this pull request Oct 24, 2024
Signed-off-by: Melvin He <[email protected]>
Signed-off-by: Patrick M. Niedzielski <[email protected]>
alexander-e1off pushed a commit to alexander-e1off/blazingmq that referenced this pull request Oct 24, 2024
Signed-off-by: Melvin He <[email protected]>
Signed-off-by: Patrick M. Niedzielski <[email protected]>
alexander-e1off pushed a commit to alexander-e1off/blazingmq that referenced this pull request Oct 24, 2024
Signed-off-by: Melvin He <[email protected]>
Signed-off-by: Patrick M. Niedzielski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants