[Bug 46384] tp-glib fails to build on Android and windows

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 21 15:00:57 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46384

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-21 06:00:57 PST ---
Created attachment 57393
  --> https://bugs.freedesktop.org/attachment.cgi?id=57393
Avoid forward-declaring Call classes

Having more than one typedef for the same name is an error.

If forward declarations are needed to break cycles, the typedef must
be *moved* (not copied) from the header it'd normally appear in to the
header with the forward declaration: for instance, TpCallContent
(forward-declared in call-channel.h) gets this right. In extreme cases,
a global "types.h" header can forward-declare everything, although that
often leads to unnecessary compilation, so we've avoided it in
telepathy-glib.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list