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

ARROW-8323: [C++] Add pragmas wrapping proto_utils.h to disable conversion warnings #6820

Closed
wants to merge 3 commits into from

Conversation

bkietz
Copy link
Member

@bkietz bkietz commented Apr 2, 2020

No description provided.

@github-actions
Copy link

github-actions bot commented Apr 2, 2020

@bkietz bkietz requested a review from kszucs April 2, 2020 19:24
@kszucs
Copy link
Member

kszucs commented Apr 2, 2020

@bkietz could you please add a comment to remove the pin once your fix is released by grpc?

@wesm
Copy link
Member

wesm commented Apr 2, 2020

Can we use #pragma warning(disable:4267) instead as suggested by @rip-nsk?

@bkietz
Copy link
Member Author

bkietz commented Apr 3, 2020

@wesm I'll try it, but note that warning is globally disabled via a flag, SetupCxxFlags.cmake:152 (to no effect when combined with /WX, evidently)

@bkietz bkietz force-pushed the 8323-Pin-gRPC-at-v1-27-to-avoi branch from 28fcd4c to 3fcea6f Compare April 3, 2020 14:47
@bkietz bkietz changed the title ARROW-8323: [C++] Pin gRPC below v1.28 to avoid implicit conversion warning ARROW-8323: [C++] Add pragmas wrapping proto_utils.h to disable conversion warnings Apr 3, 2020
Copy link
Member

@kszucs kszucs left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Ben!

@kszucs kszucs closed this in 921aa0c Apr 3, 2020
@bkietz
Copy link
Member Author

bkietz commented Apr 3, 2020

Opened https://jira.apache.org/jira/browse/ARROW-8328 to investigate why the global conversion warning disable is not respected

@bkietz bkietz deleted the 8323-Pin-gRPC-at-v1-27-to-avoi branch February 25, 2021 16:50
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.

None yet

3 participants