This is the mail archive of the gcc-patches@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]

Re: "first use this function" incorrect for C++


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> I would prefer
>
>          error ("'%E' undefined in this scope", name)
>   
> Notice the "%E" specifier.

The message for non-function scopes reads:

    error ("`%D' was not declared in this scope", name);

Those two messages should probably be the same.


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