-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[boost-concept-check] Fix warning C4834 when install pagmo2 #15887
Conversation
@StarGate-One |
@Cheney-W Thank you a-lot. 👍😊 |
@ras0219-msft Could you please help review and merge this PR? Thanks. |
LGTM, thanks for getting it checked against upstream! |
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.