https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #17 from Jonathan Wakely ---
(In reply to Ville Voutilainen from comment #5)
> And the papers that changed this are
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1091r3.html and
> https://www.open-std.org/jtc1/sc22/wg21/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #16 from Jonathan Wakely ---
(In reply to Jakub Jelinek from comment #12)
> (In reply to Jonathan Wakely from comment #0)
> > [expr.prim.lambda.capture] p8 says "If a lambda-expression explicitly
> > captures an entity that is not odr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #15 from Giuseppe D'Angelo ---
Unfortunately not; that is https://cplusplus.github.io/CWG/issues/2313.html .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #14 from Jakub Jelinek ---
Aren't then in C++17 at least the std::tuple* using structured bindings objects
(each v_i in that case is a variable) and thus entities?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #13 from Giuseppe D'Angelo ---
Not sure; N4659 says
https://timsong-cpp.github.io/cppwp/n4659/expr.prim.lambda.capture#4
"The identifier in a simple-capture is looked up using the usual rules for
unqualified name lookup; each such l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #12
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #11 from Giuseppe D'Angelo ---
Sure thing! It's PR118719.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |15.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #9 from Giuseppe D'Angelo ---
> For comparison, Clang doesn't warn.
... doesn't warn on (2) and (3), that is. (Those are the cases for which I
think GCC is wrong at emitting the warning.)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Giuseppe D'Angelo changed:
What|Removed |Added
CC||dangelog at gmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #6 from GCC Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:46bafd9a6b9b776142e0b1424a6ac02e3a2fd300
commit r15-348-g46bafd9a6b9b776142e0b1424a6ac02e3a2fd300
Author: Marek Polacek
Date: Fri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
--- Comment #5 from Ville Voutilainen ---
And the papers that changed this are
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1091r3.html and
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1381r1.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Ville Voutilainen changed:
What|Removed |Added
Status|SUSPENDED |ASSIGNED
--- Comment #4 from Ville V
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|SUSPENDED
--- Comment #3 from Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
19 matches
Mail list logo