This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33208] Broken diagnostic: 'component_ref' not supported by dump_decl



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]