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/65466] Unnecessary source line output for "note: each undeclared identifier is reported only once"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65466

--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to joseph@codesourcery.com from comment #2)
> On Thu, 19 Mar 2015, manu at gcc dot gnu.org wrote:
> 
> > (If I was re-doing that patch again, I will try to overload inform(), because
> > inform_with_flags is just too much typing).
> 
> Note that diagnostic functions cannot be overloaded in a way that means 
> different functions with the same name have the msgid argument in 
> different positions, as that breaks exgettext.

Ah, yes, I forgot about this. We had this problem already in the Fortran FE.
Can exgettext be fixed to handle overloads eventually? Perhaps someone could
reimplement it as a GCC plugin. That would be a nice GSoC!

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