[Bug c++/88165] error: default member initializer for 'A::B::m' required before the end of its enclosing class

2022-04-22 Thread jcl at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88165 --- Comment #12 from JC Liang --- (In reply to Jonathan Wakely from comment #10) > (In reply to Fedor Chelnokov from comment #7) > > This struct definition: > > ``` > > struct A { > > struct B { > > int i = 0; > > B() {} > >

[Bug c++/88165] error: default member initializer for 'A::B::m' required before the end of its enclosing class

2022-04-22 Thread jcl at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88165 JC Liang changed: What|Removed |Added CC||jcl at nvidia dot com --- Comment #8 from JC

[Bug c++/55357] -Wshadow warns about lambda function parameters matching variables in outer scope

2022-03-26 Thread jcl at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55357 JC Liang changed: What|Removed |Added CC||jcl at nvidia dot com --- Comment #4 from JC