Skip to content

[cppmicroservices] Fix warning C4834#15177

Merged
BillyONeal merged 1 commit intomicrosoft:masterfrom
Cheney-W:dev/cheney/C4834
Dec 18, 2020
Merged

[cppmicroservices] Fix warning C4834#15177
BillyONeal merged 1 commit intomicrosoft:masterfrom
Cheney-W:dev/cheney/C4834

Conversation

@Cheney-W
Copy link
Copy Markdown
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 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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Dec 18, 2020
@BillyONeal BillyONeal merged commit fe58525 into microsoft:master Dec 18, 2020
@BillyONeal
Copy link
Copy Markdown
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
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants