view runtime/tools/mve.txt @ 9900:daecffbd0322 v7.4.2224

commit https://github.com/vim/vim/commit/af9c4c9b5761c4c074237d87e2c95713bf721eab Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 17 21:51:56 2016 +0200 patch 7.4.2224 Problem: Compiler warnings with older compiler and 64 bit numbers. Solution: Add "LL" to large values. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Aug 2016 22:00:07 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

[ The mve awk script was posted on the vimdev mailing list ]

From: jimmer@barney.mdhc.mdc.com (J. McGlasson)
Date: Mon, 31 Mar 1997 13:16:49 -0700 (Mar)

My compiler (SGI MIPSpro C compiler - IRIX 6.4) works like this.
I have written a script mve (make vim errors), through which I pipe my make
output, which translates output of the following form:

cfe: Error: syntax.c, line 4: Syntax Error
     int i[12;
 ------------^

into:

 cl.c, line 4, col 12 :  Syntax Error

(in vim notation:  %f, line %l, col %c : %m)

You might be able to tailor this for your compiler's output.