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


Florian Weimer <fw@deneb.enyo.de> writes:

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

However, I prefer the use of '%E' specifier in the change you proposed.
With tha change, the patch is OK.

-- Gaby


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