[Bug 53100] duplicate declaration of TpBaseConnection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 6 10:20:27 CEST 2012


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

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|telepathy-bugs at lists.freede |simon.mcvittie at collabora.co
                   |sktop.org                   |.uk

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-08-06 08:20:27 UTC ---
Created attachment 65151
  --> https://bugs.freedesktop.org/attachment.cgi?id=65151
Don't have a second copy of the TpBaseConnection typedef

N1570 (C11 final draft) §6.7.3 says this usage is valid[1] so modern
gcc doesn't have an option to even warn about it, but this is a recent
change to the C standard, and older compilers like the one in the
Android NDK treat it as a fatal error.

[1] "a typedef name may be redefined to denote the same
type as it currently does, provided that type is not a variably
modified type"

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

-- 
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