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

[cppmicroservices] Fix warning C4834 #15177

Merged
merged 1 commit into from
Dec 18, 2020
Merged

[cppmicroservices] Fix warning C4834 #15177

merged 1 commit into from
Dec 18, 2020

Conversation

Cheney-W
Copy link
Contributor

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

The change of STL is by design, so I add a patch to modify the source code.

@Cheney-W Cheney-W added the info:internal This PR or Issue was filed by the vcpkg team. label Dec 17, 2020
@Cheney-W Cheney-W requested a review from NancyLi1013 December 17, 2020 10:04
@NancyLi1013 NancyLi1013 added the category:port-bug The issue is with a library, which is something the port should already support label Dec 17, 2020
@NancyLi1013 NancyLi1013 marked this pull request as ready for review December 17, 2020 10:19
@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Dec 18, 2020
@BillyONeal BillyONeal merged commit fe58525 into microsoft:master Dec 18, 2020
@BillyONeal
Copy link
Member

Thanks!

Jimmy-Hu added a commit to Jimmy-Hu/vcpkg that referenced this pull request Dec 18, 2020
[cppmicroservices] Fix warning C4834 (microsoft#15177)
ryukw7 pushed a commit to ryukw7/vcpkg that referenced this pull request Dec 24, 2020
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.

3 participants