------- Comment #3 from manu at gcc dot gnu dot org 2007-01-31 23:38 ------- (In reply to comment #0) > > Other informative notes are labeled "note:". Because this is labelled "error", > scripts that scan generated compiler output to count errors get wrong counts. >
Ivan, the fix is trivial. In c-decl.c (undeclared_variable), replace the call to "error" with a call to "inform". However, it may require updating testcases and the maintainers may prefer to remove the message altogether. Since this is a minor issue, it is not strange that people prefer to do something else. If you are interested in seeing this fixed, this is a good opportunity to learn how to contribute to GCC, since the patch is trivial, the only difficulty is the whole process, that may seem complex at the beginning. You can find more information in http://gcc.gnu.org/contribute.html and ask any question about contributing in [EMAIL PROTECTED] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24577