Re: [patch] suppress warnings

2013-07-05 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > When I compile on Cygwin, I get following warnings: > > mbyte.c: In function 'encname2codepage': > mbyte.c:4111:2: warning: pointer targets in passing argument 1 of 'atoi' > differ in signedness [-Wpointer-sign] > In file included from os_unix.h:33:0, > from

[patch] suppress warnings

2013-07-05 Fir de Conversatie Ken Takata
Hi, When I compile on Cygwin, I get following warnings: mbyte.c: In function 'encname2codepage': mbyte.c:4111:2: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] In file included from os_unix.h:33:0, from vim.h:271,

Re: [patch] suppress warnings on Win32

2013-01-30 Fir de Conversatie Bram Moolenaar
Skeept wrote: > I have some warnings when compiling with visual studio 2012: > > ex_cmds.c(4768) : warning C4267: '=' : conversion from 'size_t' to 'int', > possible loss of data > > > if_perl.xs(1051) : warning C4244: '=' : conversion from 'IV' to 'int', > possible loss of data > if_perl.xs

Re: [patch] suppress warnings on Win32

2013-01-30 Fir de Conversatie Christian Brabandt
Hi On Mi, 30 Jan 2013, skeept wrote: > I have some warnings when compiling with visual studio 2012: > > ex_cmds.c(4768) : warning C4267: '=' : conversion from 'size_t' to 'int', > possible loss of data > > > if_perl.xs(1051) : warning C4244: '=' : conversion from 'IV' to 'int', > possible l

Re: [patch] suppress warnings on Win32

2013-01-30 Fir de Conversatie skeept
I have some warnings when compiling with visual studio 2012: ex_cmds.c(4768) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data if_perl.xs(1051) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data if_perl.xs(1094) : warning C4244: '=' : conv

Re: [patch] suppress warnings on Win32

2013-01-27 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > I got the following warnings when I build with MinGW 4.5.3: > -- > os_mswin.c:187:5: warning: '_chdrive' redeclared without dllimport attribute: > previous dllimport ignored > os_win32.c:166:1: warning: initialization from incompatible pointer type > os_win32.c: In fu

[patch] suppress warnings on Win32

2013-01-26 Fir de Conversatie Ken Takata
Hi, I got the following warnings when I build with MinGW 4.5.3: -- os_mswin.c:187:5: warning: '_chdrive' redeclared without dllimport attribute: previous dllimport ignored os_win32.c:166:1: warning: initialization from incompatible pointer type os_win32.c: In function 'sub_process_writer'