2 " Compiler: GNU C Compiler
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2010-05-30
6 if exists("current_compiler")
9 let current_compiler = "gcc"
14 CompilerSet errorformat=
15 \%*[^\"]\"%f\"%*\\D%l:%c:\ %m,
16 \%*[^\"]\"%f\"%*\\D%l:\ %m,
17 \\"%f\"%*\\D%l:%c:\ %m,
19 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
20 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
21 \%f:%l:%c:\ %terror:\ %m,
22 \%f:%l:%c:\ %tarning:\ %m,
24 \%f:%l:\ %terror:\ %m,
25 \%f:%l:\ %tarning:\ %m,
27 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
28 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
29 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
30 \%D%*\\a:\ Entering\ directory\ `%f',
31 \%X%*\\a:\ Leaving\ directory\ `%f',
32 \%DMaking\ %*\\a\ in\ %f
34 if exists('g:compiler_gcc_ignore_unmatched_lines')
35 CompilerSet errorformat+=%-G%.%#