annotate runtime/compiler/fortran_g77.vim @ 29163:9288c636ffa5 v8.2.5101

patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" Commit: https://github.com/vim/vim/commit/cf65d88ff844f042337dfd043e6e98f3b9270577 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 15 18:31:45 2022 +0100 patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc". Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan, closes #10578)
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Jun 2022 19:45:04 +0200
parents 7bc41231fbc7
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: g77 (GNU Fortran)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
4 " Last Change: $Date: 2004/06/13 18:17:36 $
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
5 " $Revision: 1.1 $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 let current_compiler = "fortran_g77"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 let s:cpo_save = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " Note: The errorformat assumes GNU make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " sample multiline errors (besides gcc backend one-liners):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " gev.f:14:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " parameter UPLO = 'Upper-triangle'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " ^
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " Unsupported VXT statement at (^)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " gev.f:6:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " integer desca( * ), descb( * )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " gev.f:19: (continued):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " end subroutine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Invalid declaration of or reference to symbol `desca' at (2) [initially seen at (1)]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 CompilerSet errorformat=
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 \%Omake:\ %r,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 \%f:%l:\ warning:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 \%A%f:%l:\ (continued):,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 \%W%f:%l:\ warning:,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 \%A%f:%l:\ ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 \%-C\ \ \ %p%*[0123456789^]%.%#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 \%-C\ \ \ %.%#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 \%DMaking\ %*\\a\ in\ %f,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 \%Z%m
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 unlet s:cpo_save