view runtime/compiler/icc.vim @ 23592:2322b643e329 v8.2.2338

patch 8.2.2338: Vim9: no error if using job_info() result wrongly Commit: https://github.com/vim/vim/commit/64ed4d4398e92ac56a9bbd66d5ec992dd4c335f7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 12 21:22:31 2021 +0100 patch 8.2.2338: Vim9: no error if using job_info() result wrongly Problem: Vim9: no error if using job_info() result wrongly. Solution: Adjust return type on number of arguments. (closes https://github.com/vim/vim/issues/7667)
author Bram Moolenaar <Bram@vim.org>
date Tue, 12 Jan 2021 21:30:03 +0100
parents 3fc0f57ecb91
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:		icc - Intel C++
" Maintainer: Peter Puck <PtrPck@netscape.net>
" Last Change: 2004 Mar 27

if exists("current_compiler")
  finish
endif
let current_compiler = "icc"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

" I think that Intel is calling the compiler icl under Windows

CompilerSet errorformat=%-Z%p^,%f(%l):\ remark\ #%n:%m,%f(%l)\ :\ (col.\ %c)\ remark:\ %m,%E%f(%l):\ error:\ %m,%E%f(%l):\ error:\ #%n:\ %m,%W%f(%l):\ warning\ #%n:\ %m,%W%f(%l):\ warning:\ %m,%-C%.%#