blob: f6ccc57c73b6c5c7ac7079f78eb93fead1917b6e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim compiler file
2" Compiler: HP aCC
3" Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
Bram Moolenaara5792f52005-11-23 21:25:05 +00004" URL: http://www.subhome.de/vim/hp_acc.vim
Bram Moolenaar9a7224b2012-04-30 15:56:52 +02005" Last Change: 2012 Apr 30
Doug Kearns408281e2024-04-04 22:00:58 +02006" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
Bram Moolenaar071d4272004-06-13 20:20:40 +00007"
8" aCC --version says: "HP ANSI C++ B3910B A.03.13"
9" This compiler has been tested on:
10" hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit)
11"
12" Tim Brown's aCC is: "HP ANSI C++ B3910B A.03.33"
13" and it also works fine...
Bram Moolenaara5792f52005-11-23 21:25:05 +000014"
15" Now suggestions by aCC are supported (compile flag aCC +w).
16" Thanks to Tim Brown again!!
17"
Bram Moolenaar071d4272004-06-13 20:20:40 +000018
19if exists("current_compiler")
20 finish
21endif
22let current_compiler = "hp_acc"
Bram Moolenaar9a7224b2012-04-30 15:56:52 +020023let s:keepcpo= &cpo
24set cpo&vim
Bram Moolenaar071d4272004-06-13 20:20:40 +000025
Bram Moolenaar071d4272004-06-13 20:20:40 +000026CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
Bram Moolenaara5792f52005-11-23 21:25:05 +000027 \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
Bram Moolenaar071d4272004-06-13 20:20:40 +000028 \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
29 \%Z\ \ \ \ %p^%.%#,
30 \%-C%.%#
31
Bram Moolenaar9a7224b2012-04-30 15:56:52 +020032let &cpo = s:keepcpo
33unlet s:keepcpo
34
Bram Moolenaar071d4272004-06-13 20:20:40 +000035" vim:ts=8:sw=4:cindent