[Bug c++/101107] Misleading error message in aggregate initialization in CRTP base class

2021-06-27 Thread btzy1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101107 --- Comment #2 from Bernard Teo --- Hmm, I didn't realise it was brace elision - the error makes much more sense this way. Reporting the assumption (e.g. "`A` can't be initialized from `*this`, assuming brace elision") would solve the problem.

[Bug c++/101107] New: Misleading error message in aggregate initialization in CRTP base class

2021-06-17 Thread btzy1996 at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: btzy1996 at gmail dot com Target Milestone: --- The following code gives a compile error: ``` template struct Combiner; template struct Base { template auto

[Bug c++/91230] [9/10 Regression] Template function containing lambda expression that has auto parameter and uses __PRETTY_FUNCTION__ does not compile

2019-08-03 Thread btzy1996 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91230 --- Comment #6 from Bernard Teo --- Thank you. I've tried and it works on trunk.

[Bug c++/91230] New: Template function containing lambda expression that has auto parameter and uses __PRETTY_FUNCTION__ does not compile

2019-07-22 Thread btzy1996 at gmail dot com
: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: btzy1996 at gmail dot com Target Milestone: --- Created attachment 46619 --> https://gcc.gnu.org/bugzi