blob: 699d14f5f46e36f4bcd21113e606e7c2c6d3333e [file] [log] [blame]
Bram Moolenaar42eeac32005-06-29 22:40:58 +00001" Vim compiler file
2" Compiler: GNU C Compiler
Bram Moolenaar57657d82006-04-21 22:12:41 +00003" Maintainer: Nikolai Weibull <now@bitwi.se>
4" Latest Revision: 2006-04-19
Bram Moolenaar42eeac32005-06-29 22:40:58 +00005
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "gcc"
10
Bram Moolenaar42eeac32005-06-29 22:40:58 +000011let s:cpo_save = &cpo
12set cpo-=C
13
Bram Moolenaar0dc065e2005-07-04 22:49:24 +000014setlocal errorformat=
Bram Moolenaar42eeac32005-06-29 22:40:58 +000015 \%*[^\"]\"%f\"%*\\D%l:\ %m,
16 \\"%f\"%*\\D%l:\ %m,
17 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
18 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
19 \%f:%l:\ %m,
20 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
21 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
22 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
23 \%DMaking\ %*\\a\ in\ %f
24
25let &cpo = s:cpo_save
26unlet s:cpo_save