Mercurial > vim
annotate runtime/compiler/gcc.vim @ 35248:bc57ec2381d6 default tip
Added tag v9.1.0433 for changeset c635bbd6e671806bf768b81d16dab956ad9b50d1
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 May 2024 08:00:05 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
375 | 1 " Vim compiler file |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
2 " Compiler: GNU C Compiler |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
4 " Last Change: 2010 Oct 14 |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
5 " changed pattern for entering/leaving directories |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
6 " by Daniel Hahler, 2019 Jul 12 |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
7 " added line suggested by Anton Lindqvist 2016 Mar 31 |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
17372
diff
changeset
|
8 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) |
375 | 9 |
10 if exists("current_compiler") | |
11 finish | |
12 endif | |
13 let current_compiler = "gcc" | |
14 | |
15 let s:cpo_save = &cpo | |
3237 | 16 set cpo&vim |
375 | 17 |
1621 | 18 CompilerSet errorformat= |
2034 | 19 \%*[^\"]\"%f\"%*\\D%l:%c:\ %m, |
375 | 20 \%*[^\"]\"%f\"%*\\D%l:\ %m, |
2034 | 21 \\"%f\"%*\\D%l:%c:\ %m, |
375 | 22 \\"%f\"%*\\D%l:\ %m, |
23 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, | |
24 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.), | |
2608
7d8af31066c8
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2236
diff
changeset
|
25 \%f:%l:%c:\ %trror:\ %m, |
2236
dc2e5ec0500d
Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
26 \%f:%l:%c:\ %tarning:\ %m, |
2034 | 27 \%f:%l:%c:\ %m, |
2608
7d8af31066c8
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2236
diff
changeset
|
28 \%f:%l:\ %trror:\ %m, |
2236
dc2e5ec0500d
Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
29 \%f:%l:\ %tarning:\ %m, |
375 | 30 \%f:%l:\ %m, |
8869
b73f9ed65072
commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents:
5555
diff
changeset
|
31 \%f:\\(%*[^\\)]\\):\ %m, |
375 | 32 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, |
17372 | 33 \%D%*\\a[%*\\d]:\ Entering\ directory\ %*[`']%f', |
34 \%X%*\\a[%*\\d]:\ Leaving\ directory\ %*[`']%f', | |
35 \%D%*\\a:\ Entering\ directory\ %*[`']%f', | |
36 \%X%*\\a:\ Leaving\ directory\ %*[`']%f', | |
375 | 37 \%DMaking\ %*\\a\ in\ %f |
38 | |
1213 | 39 if exists('g:compiler_gcc_ignore_unmatched_lines') |
1621 | 40 CompilerSet errorformat+=%-G%.%# |
1213 | 41 endif |
42 | |
375 | 43 let &cpo = s:cpo_save |
44 unlet s:cpo_save |