"first use this function" incorrect for C++
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Aug 31 12:17:00 GMT 2003
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
More information about the Gcc-patches
mailing list