------- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2007-10-31 00:44 ------- Then perhaps I ought to explain what I'm using -Wfatal-errors for.
I wrote an IRC bot called geordi ( http://www.eelis.net/geordi ) that accepts lines of C++ code, compiles them with g++, and either reports the first compilation error or proceeds to run the resulting program and report its output. Geordi has proved to be an extremely useful demonstration tool that is now used in several C++ channels, including Freenode's ##c++ and ##iso-c++. Since geordi only reports the first error (if any), it passes -Wfatal-errors to g++ to not waste time compiling further (response time is very important here). Unfortunately, this means that it currently reports truncated errors for snippets like the one I mentioned. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33952