2014-07-10 21:05:51 -07:00
|
|
|
" Vim compiler file
|
|
|
|
" Compiler: Compaq Visual Fortran
|
|
|
|
" Maintainer: Joh.-G. Simon (johann-guenter.simon@linde-le.com)
|
|
|
|
" Last Change: 11/05/2002
|
2024-04-04 14:49:21 -07:00
|
|
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "fortran_cv"
|
|
|
|
|
|
|
|
let s:cposet = &cpoptions
|
|
|
|
set cpoptions-=C
|
|
|
|
|
|
|
|
" A workable errorformat for Compaq Visual Fortran
|
|
|
|
CompilerSet errorformat=
|
|
|
|
\%E%f(%l)\ :\ Error:%m,
|
|
|
|
\%W%f(%l)\ :\ Warning:%m,
|
|
|
|
\%-Z%p%^%.%#,
|
|
|
|
\%-G%.%#,
|
|
|
|
" Compiler call
|
2019-08-01 22:34:39 -07:00
|
|
|
CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %:S
|
2014-07-10 21:05:51 -07:00
|
|
|
" Visual fortran defaults to printing output on stderr
|
|
|
|
" Adjust option shellpipe accordingly
|
|
|
|
|
|
|
|
let &cpoptions = s:cposet
|
|
|
|
unlet s:cposet
|