Mercurial > vim
view runtime/compiler/icc.vim @ 24561:f6049d3ab81c v8.2.2820
patch 8.2.2820: session file may divide by zero
Commit: https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 30 21:37:51 2021 +0200
patch 8.2.2820: session file may divide by zero
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes https://github.com/vim/vim/issues/8162)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Apr 2021 21:45:05 +0200 |
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%.%#