Summary: | duplicate declaration of TpBaseConnection | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alvaro Soliverez <alvaro.soliverez> |
Component: | tp-glib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | plaes |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: | ||
Attachments: | Don't have a second copy of the TpBaseConnection typedef |
Description
Alvaro Soliverez
2012-08-03 17:47:15 UTC
(In reply to comment #0) > error: redefinition of typedef 'TpBaseConnection' I was sure we fixed this at least once already, but apparently not... Unfortunately, recent "normal gcc" doesn't seem to have an option to even warn about this, so we're going to keep fixing it for a very long time. Created attachment 65151 [details] [review] 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 (In reply to comment #2) > Don't have a second copy of the TpBaseConnection typedef This is a regression somewhere in 0.19.x and does not affect telepathy-glib 0.18. Alvaro: the Android buildbot might be better off building our stable branch 0.18.x (telepathy-glib-0.18 rather than master). I believe everything Ytstenut-related works with 0.18.x. Comment on attachment 65151 [details] [review] Don't have a second copy of the TpBaseConnection typedef Review of attachment 65151 [details] [review]: ----------------------------------------------------------------- Yes. *** Bug 53367 has been marked as a duplicate of this bug. *** Fixed in git for 0.19.7, thanks |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.