0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/compiler/gcc.vim

33 lines
896 B
VimL
Raw Normal View History

2005-06-29 22:40:58 +00:00
" Vim compiler file
" Compiler: GNU C Compiler
2006-04-21 22:12:41 +00:00
" Maintainer: Nikolai Weibull <now@bitwi.se>
2007-05-10 18:19:11 +00:00
" Latest Revision: 2006-12-20
2005-06-29 22:40:58 +00:00
if exists("current_compiler")
finish
endif
let current_compiler = "gcc"
let s:cpo_save = &cpo
set cpo-=C
2005-07-04 22:49:24 +00:00
setlocal errorformat=
2005-06-29 22:40:58 +00:00
\%*[^\"]\"%f\"%*\\D%l:\ %m,
\\"%f\"%*\\D%l:\ %m,
\%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
\%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
\%f:%l:\ %m,
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
2007-05-10 18:19:11 +00:00
\%D%*\\a:\ Entering\ directory\ `%f',
\%X%*\\a:\ Leaving\ directory\ `%f',
2005-06-29 22:40:58 +00:00
\%DMaking\ %*\\a\ in\ %f
2007-05-10 18:19:11 +00:00
if exists('g:compiler_gcc_ignore_unmatched_lines')
let &errorformat .= ',%-G%.%#'
endif
2005-06-29 22:40:58 +00:00
let &cpo = s:cpo_save
unlet s:cpo_save