PR c++/25811
Fabien CHÊNE
fabien.chene@gmail.com
Wed Mar 31 17:08:00 GMT 2010
2010/3/31 Manuel López-Ibáñez <lopezibanez@gmail.com>:
> So what happens when there is more than one? how would the user know
> which member is uninitialized?
The diagnostic is approximately the same than for:
struct A { int const i; };
void f() { A a; }
I admit than we can do better for both cases.
> More importantly, how would the user know where this member is declared?
> The error could provide a bit more information to the user.
I will try to improve that.
--
Fab
More information about the Gcc-patches
mailing list