Skip to content

Conversation

@BillyONeal
Copy link
Member

@BillyONeal BillyONeal commented Nov 14, 2024

Our Optional<T&> and Expected<T&> trip over the false positive described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 , where there are temporary Optional or Expecteds that return references to things outside of their own lifetime that trip the warning.

(I tried to edit vcpkg-tool on Ubuntu 24.04 which comes with GCC 13, triggering this)

Our Optional<T&> and Expected<T&> trip over the false positive described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 , where there are temporary Optional or Expecteds that return references to things outside of their own lifetime that trip the warning.
Copy link
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

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

LGTM

@BillyONeal BillyONeal merged commit d176cbe into microsoft:main Nov 15, 2024
6 checks passed
@BillyONeal BillyONeal deleted the fix-gcc-13 branch November 15, 2024 23:08
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.

2 participants