------- Comment #1 from pault at gcc dot gnu dot org 2010-03-28 20:50 ------- Dear Dominiq,
Unfortunately, what you report here is a consequence of the way in which -fwhole-file has to be implemented. The order changes because of the need to resolve called procedures and I can well believe that the number of error messages might change, even though namespaces are tagged when they have been resolved. I guess that we could tag every line for errors but this would need a bigger change to error.c than I am prepared to embark on. My inclination is WONTFIX but I would be happy to discuss. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41059