view runtime/compiler/mips_c.vim @ 22242:f7871f02ddcd v8.2.1670

patch 8.2.1670: a couple of gcc compiler warnings Commit: https://github.com/vim/vim/commit/8f13d82fa6ac6faa1a91076e99000a8f02180e8e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 12 21:04:23 2020 +0200 patch 8.2.1670: a couple of gcc compiler warnings Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pell?, closes https://github.com/vim/vim/issues/6944)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Sep 2020 21:15:03 +0200
parents d1e4abe8342c
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	SGI IRIX 6.5 MIPS C (cc)
" Maintainer:	David Harrison <david_jr@users.sourceforge.net>
" Last Change:	2012 Apr 30

if exists("current_compiler")
  finish
endif
let current_compiler = "mips_c"
let s:keepcpo= &cpo
set cpo&vim

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

CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
		    \%Wcc\-%n\ %.%#:\ WARNING\ File\ =\ %f\%\\,\ Line\ =\ %l,
		    \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l,
		    \%+C\ \ %m.,
		    \%-Z\ \ %p^,
		    \%-G\\s%#,
		    \%-G%.%#

let &cpo = s:keepcpo
unlet s:keepcpo