[Bug c++/41796] ambiguous subobject diagnostic given too early
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 11 05:30:00 GMT 2010
------- Comment #4 from jason at gcc dot gnu dot org 2010-02-11 05:29 -------
Thanks for pointing out that this has changed since C++03, though the change
was to fix to something that was clearly broken.
In any case, I disagree with issue 983. The point of the example is that it
doesn't matter what subobject it refers to, as the type of &D::i is 'int B::*'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41796
More information about the Gcc-bugs
mailing list