GNOME Bugzilla – Bug 557565
[pulse] Compiler warnings on PPC
Last modified: 2009-02-10 10:54:59 UTC
Hi, the pulse plugin currently builds with warnings on PPC and probably also on other architectures: cc1: warnings being treated as errors pulsemixerctrl.c: In function ‘gst_pulsemixer_ctrl_sink_info_cb’: pulsemixerctrl.c:96: error: passing argument 1 of ‘g_atomic_int_get’ from incompatible pointer type pulsemixerctrl.c:99: error: passing argument 1 of ‘g_atomic_int_set’ from incompatible pointer type pulsemixerctrl.c: In function ‘gst_pulsemixer_ctrl_source_info_cb’: pulsemixerctrl.c:145: error: passing argument 1 of ‘g_atomic_int_get’ from incompatible pointer type pulsemixerctrl.c:148: error: passing argument 1 of ‘g_atomic_int_set’ from incompatible pointer type pulsemixerctrl.c: In function ‘gst_pulsemixer_ctrl_set_mute’: pulsemixerctrl.c:573: error: passing argument 1 of ‘g_atomic_int_get’ from incompatible pointer type pulsemixerctrl.c:576: error: passing argument 1 of ‘g_atomic_int_set’ from incompatible pointer type make[3]: *** [libgstpulse_la-pulsemixerctrl.lo] Fehler 1
The problem here seems to be, that g_atomic_int_(g|s)et takes an "volative gint *" while GstMixerTrack.flags is an enum. Not sure why this is wrong though, I thought the default type of an enum is int
*** This bug has been marked as a duplicate of 571153 ***