Re: Patch to try out

2009-05-15 Fir de Conversatie Dasn
On 15/05/09 20:23 +0200, Bram Moolenaar wrote: > > > I would appreciate it if a few people can try out this patch and tell me > if this doesn't trigger any errors or warnings. The more unusual your > compiler is the more useful the information. I already tried gcc 4.3.3, > where it avoids a wa

configure: WARNING: sys/sysctl.h

2009-05-15 Fir de Conversatie Dasn
'configure' script reports the following messages on OpenBSD: > WARNING: sys/sysctl.h: present but cannot be compiled > WARNING: sys/sysctl.h: check for missing prerequisite headers? > WARNING: sys/sysctl.h: see the Autoconf documentation > WARNING: sys/sysctl.h: section "Present But Canno

Patch 7.2.174

2009-05-15 Fir de Conversatie Bram Moolenaar
Patch 7.2.174 Problem:Too many warnings from gcc -Wextra. Solution: Change initializer. Add UNUSED. Add type casts. Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c, memline.c, message.c,

Re: Patch 7.2.167

2009-05-15 Fir de Conversatie Bram Moolenaar
James Vega wrote: > On Fri, May 15, 2009 at 08:37:07PM +0200, Bram Moolenaar wrote: > > > > > > Jan Larres wrote: > > > > > * Bram Moolenaar (b...@moolenaar.net) wrote: > > > > Does someone know a better lint than splint? Unfortunately the lint I > > > > was using on FreeBSD doesn't appear t

Re: Compile warning: missing sentinel in function call

2009-05-15 Fir de Conversatie Dominique Pellé
On Fri, May 15, 2009 at 8:23 PM, Bram Moolenaar wrote: > Dasn wrote: > >> Hi, when compiling 7.2-1-173 on OpenBSD, I got: >> >> > if_cscope.c: In function `cs_create_connection': >> > if_cscope.c:997: warning: missing sentinel in function call >> >> Not a big problem, should be easy to fix: >> >

Re: Patch 7.2.167

2009-05-15 Fir de Conversatie James Vega
On Fri, May 15, 2009 at 08:37:07PM +0200, Bram Moolenaar wrote: > > > Jan Larres wrote: > > > * Bram Moolenaar (b...@moolenaar.net) wrote: > > > Does someone know a better lint than splint? Unfortunately the lint I > > > was using on FreeBSD doesn't appear to be available for Linux. It > > > w

Re: Patch 7.2.167

2009-05-15 Fir de Conversatie Bram Moolenaar
Jan Larres wrote: > * Bram Moolenaar (b...@moolenaar.net) wrote: > > Does someone know a better lint than splint? Unfortunately the lint I > > was using on FreeBSD doesn't appear to be available for Linux. It > > wasn't great but I least I could use it for some basic sanity checking. > > Ther

Patch to try out

2009-05-15 Fir de Conversatie Bram Moolenaar
I would appreciate it if a few people can try out this patch and tell me if this doesn't trigger any errors or warnings. The more unusual your compiler is the more useful the information. I already tried gcc 4.3.3, where it avoids a warning when compiling with -Wextra. *** ../vim-7.2.173/src/

Re: Compile warning: missing sentinel in function call

2009-05-15 Fir de Conversatie Bram Moolenaar
Dasn wrote: > Hi, when compiling 7.2-1-173 on OpenBSD, I got: > > > if_cscope.c: In function `cs_create_connection': > > if_cscope.c:997: warning: missing sentinel in function call > > Not a big problem, should be easy to fix: > > *** if_cscope.c 22 Apr 2009 14:25:01 - 1.36 > --- if_

Re: Bug report: ":bufdo e" breaking syntax highlighting on displayed buffers.

2009-05-15 Fir de Conversatie Bob Hiestand
On Wed, May 13, 2009 at 12:50 PM, Will Kraytos wrote: > > On Tue, May 12, 2009 at 12:27 PM, Bram Moolenaar wrote: >> Why would you do ":bufdo e"?  The buffer is already loaded. > > We use a VCS (git) to collaborate on our codebase, and every time we > pull source changes, we need to see those re

Re: Python omni-completion fails on bad import

2009-05-15 Fir de Conversatie Chris Lasher
On Fri, May 15, 2009 at 10:57 AM, Aaron Griffin wrote: > On Fri, May 15, 2009 at 1:31 AM, Chris Lasher > wrote: > > On Tue, Dec 23, 2008 at 4:57 PM, Chris Lasher > > wrote: > >> > >> On Tue, Dec 23, 2008 at 3:50 PM, Aaron Griffin > > >> wrote: > >> > On Tue, Dec 23, 2008 at 1:58 PM, Bram Moolen

Re: Patch 7.2.167

2009-05-15 Fir de Conversatie Jan Larres
* Bram Moolenaar (b...@moolenaar.net) wrote: > Does someone know a better lint than splint? Unfortunately the lint I > was using on FreeBSD doesn't appear to be available for Linux. It > wasn't great but I least I could use it for some basic sanity checking. There's also cppcheck: http://cppche