This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: "first use this function" incorrect for C++
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 Aug 2003 14:15:41 +0200
- Subject: Re: "first use this function" incorrect for C++
- Organization: Integrable Solutions
- References: <87y8xaglt8.fsf@deneb.enyo.de>
Florian Weimer <fw@deneb.enyo.de> writes:
| While we are at it, do you think the undeclared_variable_notice
| explanation is really necessary?
No, I do not. But I would like to hear from other people.
[...]
| - error ("`%D' undeclared (first use this function)", name);
| + error ("`%D' undeclared", name);
I would prefer
error ("'%E' undefined in this scope", name)
Notice the "%E" specifier.
-- Gaby