[Bug 50712] New: Compilation warnings/error because of TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 5 10:21:30 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=50712
Bug #: 50712
Summary: Compilation warnings/error because of
TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED
Classification: Unclassified
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: guillaume.desmottes at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
I tried building telepathy-logger with tp-glib master. As it still depends on
tp-glib 0.18.0 (which is fair) I defined:
AC_DEFINE(TP_VERSION_MIN_REQUIRED, TP_VERSION_0_18, [Ignore post 0.18
deprecations])
AC_DEFINE(TP_VERSION_MAX_ALLOWED, TP_VERSION_0_18, [Prevent post 0.18 APIs])
But still get this error:
contacts-conn.c:687:3: error: 'tp_base_connection_check_connected' is
deprecated (declared at
/home/cassidy/usr/include/telepathy-1.0/telepathy-glib/base-
connection.h:131): Not available before 0.19 [-Werror=deprecated-declarations]
That's because since 5f90a8dd this function uses
tp_base_connection_check_connected() which is annotated with
_TP_AVAILABLE_IN_UNRELEASED.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list