[Bug c++/33208] Broken diagnostic: 'component_ref' not supported by dump_decl
gdr at cs dot tamu dot edu
gcc-bugzilla@gcc.gnu.org
Sat Sep 1 21:08:00 GMT 2007
------- Comment #4 from gdr at cs dot tamu dot edu 2007-09-01 21:07 -------
Subject: Re: Broken diagnostic: 'component_ref' not supported by dump_decl
"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| But do we really want 'a.A::b' ?!?
No, we don't. The format specific is OK -- e.g. it should be %qD. However,
the caller of error() should make sure it gives a _DECL. It isn't
really the diagnostic machinery's business here to second guess
a type error correction.
Of course, it would have been better if we had diagnostics with carret...
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33208
More information about the Gcc-bugs
mailing list