A warning building Emacs-cvs with recent Cygwin DLL

2008-01-25 Thread Angelo Graziosi
With Cygwin DLL 1.5.25 (and the changes to 'tz...', I suppose), building Emacs from CVS gives this warning: ... gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/tmp/emacs/src -I/usr/X11R6/include-g -O2 -Wno-pointer-sign /tmp/emacs/src/strftime.c /tmp/emacs/src/strftime.c:58: warning:

Re: A warning building Emacs-cvs with recent Cygwin DLL

2008-01-25 Thread Corinna Vinschen
On Jan 25 10:12, Angelo Graziosi wrote: > /tmp/emacs/src/strftime.c:58: warning: '_tzname' redeclared without > dllimport attribute: previous dllimport ignored > ... > > It seems that the following simple patch avoid it: > = > --- strftime.c.orig 2

Re: A warning building Emacs-cvs with recent Cygwin DLL

2008-01-25 Thread Eli Zaretskii
> Date: Fri, 25 Jan 2008 10:12:04 +0100 > From: Angelo Graziosi <[EMAIL PROTECTED]> > Cc: cygwin@cygwin.com > > With Cygwin DLL 1.5.25 (and the changes to 'tz...', I suppose), building > Emacs from CVS gives this warning: > > ... > gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/tmp/emacs/sr

Re: A warning building Emacs-cvs with recent Cygwin DLL

2008-01-25 Thread Angelo Graziosi
Having obtained this answer http://cygwin.com/ml/cygwin/2008-01/msg00491.html from Cygwin side, a 'conservative' solution looks as the following === --- strftime.c.orig 2007-01-14 04:24:37.0 +0100 +++ strftime.c 2008-01-25 10:52:30.921875000 +0100 @@ -54,7 +

Re: A warning building Emacs-cvs with recent Cygwin DLL

2008-01-25 Thread Corinna Vinschen
On Jan 25 12:16, Eli Zaretskii wrote: > > From: Angelo Graziosi <[EMAIL PROTECTED]> > > > > With Cygwin DLL 1.5.25 (and the changes to 'tz...', I suppose), building > > Emacs from CVS gives this warning: > > > > ... > > gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/tmp/emacs/src > > -I/us