2 " Compiler: GNU C Compiler
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2009-05-01
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.),
23 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
24 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
25 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
26 \%D%*\\a:\ Entering\ directory\ `%f',
27 \%X%*\\a:\ Leaving\ directory\ `%f',
28 \%DMaking\ %*\\a\ in\ %f
30 if exists('g:compiler_gcc_ignore_unmatched_lines')
31 CompilerSet errorformat+=%-G%.%#