annotate runtime/compiler/gcc.vim @ 1380:99a9e42e5688 v7.1.095

updated for version 7.1-095
author vimboss
date Wed, 05 Sep 2007 19:47:23 +0000
parents 8906c10ecbb0
children 82b5078be2dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim compiler file
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
2 " Compiler: GNU C Compiler
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
4 " Latest Revision: 2006-12-20
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("current_compiler")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 let current_compiler = "gcc"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12 set cpo-=C
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
14 setlocal errorformat=
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15 \%*[^\"]\"%f\"%*\\D%l:\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \\"%f\"%*\\D%l:\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \%f:%l:\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
21 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
23 \%D%*\\a:\ Entering\ directory\ `%f',
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
24 \%X%*\\a:\ Leaving\ directory\ `%f',
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25 \%DMaking\ %*\\a\ in\ %f
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
27 if exists('g:compiler_gcc_ignore_unmatched_lines')
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
28 let &errorformat .= ',%-G%.%#'
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
29 endif
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
30
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32 unlet s:cpo_save