xref: /vim-8.2.3635/runtime/compiler/gcc.vim (revision 044b68f4)
1" Vim compiler file
2" Compiler:         GNU C Compiler
3" Maintainer:       Nikolai Weibull <[email protected]>
4" Latest Revision:  2006-04-19
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "gcc"
10
11let s:cpo_save = &cpo
12set cpo-=C
13
14setlocal errorformat=
15      \%*[^\"]\"%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
27