[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101107 Bug ID: 101107 Summary: Misleading error message in aggregate initialization in CRTP base class Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: norm