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 664236 - Build error with gcc 4.6.2
Build error with gcc 4.6.2
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gthread
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-11-16 23:35 UTC by Andrés G. Aragoneses (IRC: knocte)
Modified: 2011-11-17 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrés G. Aragoneses (IRC: knocte) 2011-11-16 23:35:44 UTC
Trying to do jhbuild buildone glib today (git master), I get:

  CC     gatomic.lo
deprecated/gthread-deprecated.c: In function 'g_static_private_set':
deprecated/gthread-deprecated.c:1387:36: error: expected expression before 'guint'
deprecated/gthread-deprecated.c: In function 'g_static_private_free':
deprecated/gthread-deprecated.c:1444:44: error: expected expression before 'guint'
make[4]: *** [gthread-deprecated.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gasyncqueue.c: In function 'g_async_queue_pop_intern_unlocked':
gasyncqueue.c:418:11: warning: 'g_cond_timed_wait' is deprecated (declared at deprecated/gthread.h:279) [-Wdeprecated-declarations]
make[4]: Leaving directory `/home/andres121/checkout/gnome/glib/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andres121/checkout/gnome/glib/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/andres121/checkout/gnome/glib/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andres121/checkout/gnome/glib'
make: *** [all] Error 2
*** Error during phase build of glib: ########## Error running make -j 4 *** [1/1]
Comment 1 Christian Persch 2011-11-17 14:25:39 UTC
This is fixed on master.