After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696970 - Compiling 2.36.0 for win64 fails
Compiling 2.36.0 for win64 fails
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.36.x
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-03-31 14:24 UTC by Hib Eris
Modified: 2013-08-17 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Fix-compiling-for-win64.patch (963 bytes, patch)
2013-03-31 14:28 UTC, Hib Eris
none Details | Review

Description Hib Eris 2013-03-31 14:24:33 UTC
(Cross) compiling glib 2.36.0 for mingw-w64 fails with:

[  302s]   CC       gdatetime.o
[  302s] gdatetime.c: In function 'test_GDateTime_printf':
[  302s] gdatetime.c:847:3: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' [-Werror=format=]
[  302s]    g_sprintf (t_str, "%ld", t);
[  302s]    ^
[  302s] cc1: some warnings being treated as errors
[  302s] make[4]: *** [gdatetime.o] Error 1
[  302s] make[4]: Leaving directory `/usr/src/packages/BUILD/glib-2.36.0/glib/tests'
[  302s] make[3]: *** [all-recursive] Error 1
[  302s] make[3]: Leaving directory `/usr/src/packages/BUILD/glib-2.36.0/glib'
[  302s] make[2]: *** [all] Error 2
[  302s] make[2]: Leaving directory `/usr/src/packages/BUILD/glib-2.36.0/glib'
[  302s] make[1]: *** [all-recursive] Error 1
[  302s] make[1]: Leaving directory `/usr/src/packages/BUILD/glib-2.36.0'
[  302s] make: *** [all] Error 2
Comment 1 Hib Eris 2013-03-31 14:28:34 UTC
Created attachment 240208 [details] [review]
0001-Fix-compiling-for-win64.patch

The line causing the error does not seem to do anything anymore, so it seems reasonable to just remove it.