bluez-tools FTBFS on wily-proposed in 64-bit archs due to implicit pointer conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez-tools (Debian) |
Fix Released
|
Unknown
|
|||
bluez-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After LDADD fix (LP: #1489661, Debian #797128) bluez-tools build now fails on 64-bit systems due to implicit pointer conversion in bt-device.c.
Build logs at: https:/
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/
bt-device.c: In function '_bt_device_
bt-device.c:345:50: warning: implicit declaration of function 'g_unix_
GInputStream *exec_output = (GInputStream *) g_unix_
Changed in bluez-tools (Debian): | |
status: | Unknown → New |
Changed in bluez-tools (Debian): | |
status: | New → Fix Released |
This patch provides the right includes so gcc can know the right return type instead of assuming an integer. This fix prevents the implicit pointer conversion warning from happening.
bt-device.c was missing an include for gio/gunixinputs tream.c and configure.ac had to be updated to include gio-unix-2.0 module.