annotate runtime/compiler/hp_acc.vim @ 32760:8eded585a4d5 v9.0.1699

patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows Commit: https://github.com/vim/vim/commit/6c313bbb043745a60a7ee30a78edb907260b764a Author: Mike Williams <mikew@globalgraphics.com> Date: Sat Aug 12 20:47:43 2023 +0200 patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows Problem: compile warning for xdiff/xutils on MS-Windows Solution: add explicit type cast from size_t to long closes: #12531 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Mike Williams <mikew@globalgraphics.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Aug 2023 21:00:05 +0200
parents d1e4abe8342c
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: HP aCC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
4 " URL: http://www.subhome.de/vim/hp_acc.vim
3496
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
5 " Last Change: 2012 Apr 30
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " aCC --version says: "HP ANSI C++ B3910B A.03.13"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " This compiler has been tested on:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " Tim Brown's aCC is: "HP ANSI C++ B3910B A.03.33"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " and it also works fine...
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
13 "
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
14 " Now suggestions by aCC are supported (compile flag aCC +w).
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
15 " Thanks to Tim Brown again!!
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
16 "
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 let current_compiler = "hp_acc"
3496
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
22 let s:keepcpo= &cpo
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
23 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
30 \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 \%Z\ \ \ \ %p^%.%#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 \%-C%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3496
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
35 let &cpo = s:keepcpo
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
36 unlet s:keepcpo
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 557
diff changeset
37
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 " vim:ts=8:sw=4:cindent