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

[boost-concept-check] Fix warning C4834 when install pagmo2 #15887

Merged
merged 6 commits into from
Feb 9, 2021
Merged

[boost-concept-check] Fix warning C4834 when install pagmo2 #15887

merged 6 commits into from
Feb 9, 2021

Conversation

Cheney-W
Copy link
Contributor

Describe the pull request
Since the change: microsoft/STL#1474 , [nodiscard] was added before some operator() function, this change causes the warning C4834: discarding return value of function with 'nodiscard' attribute occurs when install port pagmo2.

The change of STL is by design.
The warning was reported in the concept_check.hpp file, which comes from the dependency boost-concept-check of pagmo2,so I add a patch to modify the source code of boost-concept-check.

@Cheney-W Cheney-W added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Jan 26, 2021
@Cheney-W
Copy link
Contributor Author

@StarGate-One
Thanks for your comment. I have submitted an issue: boostorg/concept_check#31 to https://github.com/boostorg/concept_check, until they provide a solution, this PR will remain in its current state.

@Cheney-W Cheney-W marked this pull request as ready for review February 1, 2021 06:49
@StarGate-One
Copy link
Contributor

@Cheney-W Thank you a-lot. 👍😊
Due diligence was done by giving a chance to respond on how the other libraries would be effected by this library change.✔
Have a wonderful day and an even better week!😎

@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Feb 2, 2021
@NancyLi1013
Copy link
Contributor

@ras0219-msft Could you please help review and merge this PR?

Thanks.

@ras0219-msft ras0219-msft merged commit 65b70e6 into microsoft:master Feb 9, 2021
@ras0219-msft
Copy link
Contributor

LGTM, thanks for getting it checked against upstream!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants