Changeset View
Changeset View
Standalone View
Standalone View
outputview/outputfilteringstrategies.cpp
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Line(s) | |||||
259 | #endif | 259 | #endif | ||
260 | // GCC - another case, eg. for #include "pixmap.xpm" which does not exists | 260 | // GCC - another case, eg. for #include "pixmap.xpm" which does not exists | ||
261 | ErrorFormat( QStringLiteral("^([^:\\t]+):([0-9]+):([0-9]+):([^0-9]+)"), 1, 2, 4, 3 ), | 261 | ErrorFormat( QStringLiteral("^([^:\\t]+):([0-9]+):([0-9]+):([^0-9]+)"), 1, 2, 4, 3 ), | ||
262 | // ant | 262 | // ant | ||
263 | ErrorFormat( QStringLiteral("\\[javac\\][\\s]+([^:\\t]+):([0-9]+): (warning: .*|error: .*)"), 1, 2, 3, QStringLiteral("javac")), | 263 | ErrorFormat( QStringLiteral("\\[javac\\][\\s]+([^:\\t]+):([0-9]+): (warning: .*|error: .*)"), 1, 2, 3, QStringLiteral("javac")), | ||
264 | // GCC | 264 | // GCC | ||
265 | ErrorFormat( QStringLiteral("^([^:\\t]+):([0-9]+):([^0-9]+)"), 1, 2, 3 ), | 265 | ErrorFormat( QStringLiteral("^([^:\\t]+):([0-9]+):([^0-9]+)"), 1, 2, 3 ), | ||
266 | // GCC | 266 | // GCC | ||
267 | ErrorFormat( QStringLiteral("^(In file included from |[ ]+from )([^: \\t]+):([0-9]+)(:|,)(|[0-9]+)"), 2, 3, 5 ), | 267 | ErrorFormat( QStringLiteral("^(In file included from |[ ]+from )([^:\\t]+):([0-9]+)(:|,)(|[0-9]+)"), 2, 3, 5 ), | ||
268 | // ICC | 268 | // ICC | ||
269 | ErrorFormat( QStringLiteral("^([^: \\t]+)\\(([0-9]+)\\):([^0-9]+)"), 1, 2, 3, QStringLiteral("intel") ), | 269 | ErrorFormat( QStringLiteral("^([^:\\t]+)\\(([0-9]+)\\):([^0-9]+)"), 1, 2, 3, QStringLiteral("intel") ), | ||
270 | //libtool link | 270 | //libtool link | ||
271 | ErrorFormat( QStringLiteral("^(libtool):( link):( warning): "), 0, 0, 0 ), | 271 | ErrorFormat( QStringLiteral("^(libtool):( link):( warning): "), 0, 0, 0 ), | ||
272 | // make | 272 | // make | ||
273 | ErrorFormat( QStringLiteral("No rule to make target"), 0, 0, 0 ), | 273 | ErrorFormat( QStringLiteral("No rule to make target"), 0, 0, 0 ), | ||
274 | // cmake | 274 | // cmake | ||
275 | ErrorFormat( QStringLiteral("^([^: \\t]+):([0-9]+):"), 1, 2, 0, QStringLiteral("cmake") ), | 275 | ErrorFormat( QStringLiteral("^([^:\\t]+):([0-9]+):"), 1, 2, 0, QStringLiteral("cmake") ), | ||
276 | // cmake | 276 | // cmake | ||
277 | ErrorFormat( QStringLiteral("CMake (Error|Warning) (|\\([a-zA-Z]+\\) )(in|at) ([^:]+):($|[0-9]+)"), 4, 5, 1, QStringLiteral("cmake") ), | 277 | ErrorFormat( QStringLiteral("CMake (Error|Warning) (|\\([a-zA-Z]+\\) )(in|at) ([^:]+):($|[0-9]+)"), 4, 5, 1, QStringLiteral("cmake") ), | ||
278 | // cmake/automoc | 278 | // cmake/automoc | ||
279 | // example: AUTOMOC: error: /foo/bar.cpp The file includes (...), | 279 | // example: AUTOMOC: error: /foo/bar.cpp The file includes (...), | ||
280 | // example: AUTOMOC: error: /foo/bar.cpp: The file includes (...) | 280 | // example: AUTOMOC: error: /foo/bar.cpp: The file includes (...) | ||
281 | // note: ':' after file name isn't always appended, see http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=317d8498aa02c9f486bf5071963bb2034777cdd6 | 281 | // note: ':' after file name isn't always appended, see http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=317d8498aa02c9f486bf5071963bb2034777cdd6 | ||
282 | // example: AUTOGEN: error: /foo/bar.cpp: The file includes (...) | 282 | // example: AUTOGEN: error: /foo/bar.cpp: The file includes (...) | ||
283 | // note: AUTOMOC got renamed to AUTOGEN at some point | 283 | // note: AUTOMOC got renamed to AUTOGEN at some point | ||
284 | ErrorFormat( QStringLiteral("^(AUTOMOC|AUTOGEN): error: ([^:]+):? (The file .*)$"), 2, 0, 0 ), | 284 | ErrorFormat( QStringLiteral("^(AUTOMOC|AUTOGEN): error: ([^:]+):? (The file .*)$"), 2, 0, 0 ), | ||
285 | // via qt4_automoc | 285 | // via qt4_automoc | ||
286 | // example: automoc4: The file "/foo/bar.cpp" includes the moc file "bar1.moc", but ... | 286 | // example: automoc4: The file "/foo/bar.cpp" includes the moc file "bar1.moc", but ... | ||
287 | ErrorFormat( QStringLiteral("^automoc4: The file \"([^\"]+)\" includes the moc file"), 1, 0, 0 ), | 287 | ErrorFormat( QStringLiteral("^automoc4: The file \"([^\"]+)\" includes the moc file"), 1, 0, 0 ), | ||
288 | // Fortran | 288 | // Fortran | ||
289 | ErrorFormat( QStringLiteral("\"(.*)\", line ([0-9]+):(.*)"), 1, 2, 3 ), | 289 | ErrorFormat( QStringLiteral("\"(.*)\", line ([0-9]+):(.*)"), 1, 2, 3 ), | ||
290 | // GFortran | 290 | // GFortran | ||
291 | ErrorFormat( QStringLiteral("^(.*):([0-9]+)\\.([0-9]+):(.*)"), 1, 2, 4, QStringLiteral("gfortran"), 3 ), | 291 | ErrorFormat( QStringLiteral("^(.*):([0-9]+)\\.([0-9]+):(.*)"), 1, 2, 4, QStringLiteral("gfortran"), 3 ), | ||
292 | // Jade | 292 | // Jade | ||
293 | ErrorFormat( QStringLiteral("^[a-zA-Z]+:([^: \\t]+):([0-9]+):[0-9]+:[a-zA-Z]:(.*)"), 1, 2, 3 ), | 293 | ErrorFormat( QStringLiteral("^[a-zA-Z]+:([^:\\t]+):([0-9]+):[0-9]+:[a-zA-Z]:(.*)"), 1, 2, 3 ), | ||
294 | // ifort | 294 | // ifort | ||
295 | ErrorFormat( QStringLiteral("^fortcom: (.*): (.*), line ([0-9]+):(.*)"), 2, 3, 1, QStringLiteral("intel") ), | 295 | ErrorFormat( QStringLiteral("^fortcom: (.*): (.*), line ([0-9]+):(.*)"), 2, 3, 1, QStringLiteral("intel") ), | ||
296 | // PGI | 296 | // PGI | ||
297 | ErrorFormat( QStringLiteral("PGF9(.*)-(.*)-(.*)-(.*) \\((.*): ([0-9]+)\\)"), 5, 6, 4, QStringLiteral("pgi") ), | 297 | ErrorFormat( QStringLiteral("PGF9(.*)-(.*)-(.*)-(.*) \\((.*): ([0-9]+)\\)"), 5, 6, 4, QStringLiteral("pgi") ), | ||
298 | // PGI (2) | 298 | // PGI (2) | ||
299 | ErrorFormat( QStringLiteral("PGF9(.*)-(.*)-(.*)-Symbol, (.*) \\((.*)\\)"), 5, 5, 4, QStringLiteral("pgi") ), | 299 | ErrorFormat( QStringLiteral("PGF9(.*)-(.*)-(.*)-Symbol, (.*) \\((.*)\\)"), 5, 5, 4, QStringLiteral("pgi") ), | ||
300 | }; | 300 | }; | ||
301 | 301 | | |||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |