* bug#7435: Trunk won't compile after change to strftime.c
@ 2010-11-18 15:59 Ken Brown
2010-11-18 23:38 ` Ken Brown
0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2010-11-18 15:59 UTC (permalink / raw)
To: 7435
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#7435: Trunk won't compile after change to strftime.c
2010-11-18 15:59 bug#7435: Trunk won't compile after change to strftime.c Ken Brown
@ 2010-11-18 23:38 ` Ken Brown
0 siblings, 0 replies; 2+ messages in thread
From: Ken Brown @ 2010-11-18 23:38 UTC (permalink / raw)
To: 7435-done
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-18 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 15:59 bug#7435: Trunk won't compile after change to strftime.c Ken Brown
2010-11-18 23:38 ` Ken Brown
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).