// --------------------------------------------------------------------------- // ErrorHandler インターフェイスの実装 // --------------------------------------------------------------------------- void DomErrorReporter::error(const SAXParseException& ex) { ErrorFormat( strErrorMessage, ex ); }
* * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include "outputfilters.h" #include <klocale.h> // @todo could get these from emacs compile.el QList<ErrorFormat> ErrorFormat::errorFormats = QList<ErrorFormat>() // GCC - another case, eg. for #include "pixmap.xpm" which does not exists << ErrorFormat( "([^: \t]+):([0-9]+):(?:[0-9]+):([^0-9]+)", 1, 2, 3 ) // GCC << ErrorFormat( "([^: \t]+):([0-9]+):([^0-9]+)", 1, 2, 3 ) // ICC << ErrorFormat( "([^: \\t]+)\\(([0-9]+)\\):([^0-9]+)", 1, 2, 3, "intel" ) //libtool link << ErrorFormat( "(libtool):( link):( warning): ", 0, 0, 0 ) // ld << ErrorFormat( "undefined reference", 0, 0, 0 ) << ErrorFormat( "undefined symbol", 0, 0, 0 ) << ErrorFormat( "ld: cannot find", 0, 0, 0 ) << ErrorFormat( "No such file", 0, 0, 0 ) // make << ErrorFormat( "No rule to make target", 0, 0, 0 ) // Fortran << ErrorFormat( "\"(.*)\", line ([0-9]+):(.*)", 1, 2, 3 )
void DomErrorReporter::warning(const SAXParseException& ex) { ErrorFormat( strWarningMessage, ex ); }