GNU bug report logs - #7435
Trunk won't compile after change to strftime.c

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Thu, 18 Nov 2010 15:56:02 UTC

Severity: normal

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7435 in the body.
You can then email your comments to 7435 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7435; Package emacs. (Thu, 18 Nov 2010 15:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ken Brown <kbrown <at> cornell.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 18 Nov 2010 15:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: Trunk won't compile after change to strftime.c
Date: Thu, 18 Nov 2010 10:59:58 -0500
Attempting to build from the trunk as of r102429 fails on Cygwin as follows:

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/d/downloads/emacs/test/src 
-D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/freetype2      -fopenmp -I/usr/include/ImageMagick 
-I/usr/include/libxml2   -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include        -MMD -MF deps/strftime.d 
-Wimplicit-function-declaration -Wold-style-definition 
-Wdeclaration-after-statement -Wno-pointer-sign  -g -O2 strftime.c
strftime.c:58: warning: ‘_tzname’ redeclared without dllimport 
attribute: previous dllimport ignored
strftime.c: In function ‘my_strftime_gmtime_r’:
strftime.c:187: warning: old-style function definition
strftime.c: In function ‘my_strftime_localtime_r’:
strftime.c:200: warning: old-style function definition
strftime.c: In function ‘ftime_tm_diff’:
strftime.c:388: warning: old-style function definition
strftime.c: In function ‘nstrftime’:
strftime.c:482: error: expected declaration specifiers before ‘,’ token
strftime.c:502: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘{’ token
strftime.c:1454: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘{’ token
strftime.c:1458: warning: old-style function definition
strftime.c:1456: error: expected ‘{’ at end of input





Reply sent to Ken Brown <kbrown <at> cornell.edu>:
You have taken responsibility. (Thu, 18 Nov 2010 23:34:01 GMT) Full text and rfc822 format available.

Notification sent to Ken Brown <kbrown <at> cornell.edu>:
bug acknowledged by developer. (Thu, 18 Nov 2010 23:34:01 GMT) Full text and rfc822 format available.

Message #10 received at 7435-done <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: 7435-done <at> debbugs.gnu.org
Subject: Re: bug#7435: Trunk won't compile after change to strftime.c
Date: Thu, 18 Nov 2010 18:38:41 -0500
On 11/18/2010 10:59 AM, Ken Brown wrote:
> Attempting to build from the trunk as of r102429 fails on Cygwin as follows:
>
> gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/d/downloads/emacs/test/src
> -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/freetype2      -fopenmp -I/usr/include/ImageMagick
> -I/usr/include/libxml2   -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include        -MMD -MF deps/strftime.d
> -Wimplicit-function-declaration -Wold-style-definition
> -Wdeclaration-after-statement -Wno-pointer-sign  -g -O2 strftime.c
> strftime.c:58: warning: ‘_tzname’ redeclared without dllimport
> attribute: previous dllimport ignored
> strftime.c: In function ‘my_strftime_gmtime_r’:
> strftime.c:187: warning: old-style function definition
> strftime.c: In function ‘my_strftime_localtime_r’:
> strftime.c:200: warning: old-style function definition
> strftime.c: In function ‘ftime_tm_diff’:
> strftime.c:388: warning: old-style function definition
> strftime.c: In function ‘nstrftime’:
> strftime.c:482: error: expected declaration specifiers before ‘,’ token
> strftime.c:502: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘{’ token
> strftime.c:1454: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘{’ token
> strftime.c:1458: warning: old-style function definition
> strftime.c:1456: error: expected ‘{’ at end of input

This has been fixed.  Sorry for the premature bug report.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 17 Dec 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.