Mercurial > vim
annotate runtime/compiler/ifort.vim @ 11428:346168f2a6cb v8.0.0598
patch 8.0.0598: building with gcc 7.1 yields new warnings
commit https://github.com/vim/vim/commit/9e0f6ec0762575d229b86798b284ca4876bc3d73
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 16 09:36:54 2017 +0200
patch 8.0.0598: building with gcc 7.1 yields new warnings
Problem: Building with gcc 7.1 yields new warnings.
Solution: Initialize result. (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 May 2017 09:45:03 +0200 |
parents | d1e4abe8342c |
children | e1df51f68736 |
rev | line source |
---|---|
2751 | 1 " Compiler: Intel Fortran Compiler |
2 " Maintainer: H Xu <xuhdev@gmail.com> | |
3 " Version: 0.1.1 | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
4 " Last Change: 2012 Apr 30 |
2751 | 5 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497 |
6 " https://bitbucket.org/xuhdev/compiler-ifort.vim | |
7 " License: Same as Vim | |
8 | |
9 if exists('current_compiler') | |
10 finish | |
11 endif | |
12 let current_compiler = 'ifort' | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
13 let s:keepcpo= &cpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
14 set cpo&vim |
2751 | 15 |
16 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
17 command -nargs=* CompilerSet setlocal <args> | |
18 endif | |
19 | |
20 CompilerSet errorformat= | |
21 \%A%f(%l):\ %trror\ \#%n:\ %m, | |
22 \%A%f(%l):\ %tarning\ \#%n:\ %m, | |
23 \%-Z%p^, | |
24 \%-G%.%# | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
25 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
26 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
27 unlet s:keepcpo |