blob: 1e64f32833dddc52b3a357c0ff905687abf94565 [file] [log] [blame]
Bram Moolenaar42eeac32005-06-29 22:40:58 +00001" Vim compiler file
2" Compiler: GNU C Compiler
3" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
4" Latest Revision: 2005-06-29
5
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "gcc"
10
11if exists(":CompilerSet") != 2
12 command -nargs=* CompilerSet setlocal <args>
13endif
14
15let s:cpo_save = &cpo
16set cpo-=C
17
18CompilerSet errorformat=
19 \%*[^\"]\"%f\"%*\\D%l:\ %m,
20 \\"%f\"%*\\D%l:\ %m,
21 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
22 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
23 \%f:%l:\ %m,
24 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
25 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
26 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
27 \%DMaking\ %*\\a\ in\ %f
28
29let &cpo = s:cpo_save
30unlet s:cpo_save