-DG_DISABLE_DEPRECATED and g_io_channel_*()

3 messages, 3 authors, 2011-01-19 · open the first message on its own page

-DG_DISABLE_DEPRECATED and g_io_channel_*()

From: Brian Gix <hidden>
Date: 2011-01-18 19:08:23

Hi All,

There appears to be a number of deprecated g_io_channel_* functions
being called from the bluez tip, which are breaking the build due to
Marcel's latest commit today:

commit effe770cd43cf53fa5842291941dbfc82beab645
Author: Marcel Holtmann [off-list ref]
Date:   Tue Jan 18 14:56:31 2011 +0100

    Use -DG_DISABLE_DEPRECATED compiler define


Should this commit be backed out until these deprecated usages have been
fixed, or is this the general way that the issue is forced?

Obviously deprecated functions should not be used, but it creates an
unbuildable bluez in the meantime.

-- 
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

Re: -DG_DISABLE_DEPRECATED and g_io_channel_*()

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2011-01-19 11:25:12

Hi Brian,
There appears to be a number of deprecated g_io_channel_* functions
being called from the bluez tip, which are breaking the build due to
Marcel's latest commit today:

commit effe770cd43cf53fa5842291941dbfc82beab645
Author: Marcel Holtmann [off-list ref]
Date:   Tue Jan 18 14:56:31 2011 +0100

    Use -DG_DISABLE_DEPRECATED compiler define


Should this commit be backed out until these deprecated usages have been
fixed, or is this the general way that the issue is forced?

Obviously deprecated functions should not be used, but it creates an
unbuildable bluez in the meantime.
I broke it on purpose to draw some attention to this ;)

Regards

Marcel

Re: -DG_DISABLE_DEPRECATED and g_io_channel_*()

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2011-01-19 12:17:13

Hi,

On Wed, Jan 19, 2011 at 1:25 PM, Marcel Holtmann [off-list ref] wrot=
e:
Hi Brian,
quoted
There appears to be a number of deprecated g_io_channel_* functions
being called from the bluez tip, which are breaking the build due to
Marcel's latest commit today:

commit effe770cd43cf53fa5842291941dbfc82beab645
Author: Marcel Holtmann [off-list ref]
Date: =A0 Tue Jan 18 14:56:31 2011 +0100

=A0 =A0 Use -DG_DISABLE_DEPRECATED compiler define


Should this commit be backed out until these deprecated usages have been
fixed, or is this the general way that the issue is forced?

Obviously deprecated functions should not be used, but it creates an
unbuildable bluez in the meantime.
I broke it on purpose to draw some attention to this ;)
I have just send a pull request to fix those problems.


--=20
Luiz Augusto von Dentz
Computer Engineer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help