Bug 53367 - Build failure with gcc-4.5 - typedef redefinition
Summary: Build failure with gcc-4.5 - typedef redefinition
Status: RESOLVED DUPLICATE of bug 53100
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-11 09:09 UTC by Priit Laes (irc: plaes)
Modified: 2012-08-12 17:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
telepathy-glib-gcc-4.5.patch (834 bytes, patch)
2012-08-11 09:28 UTC, Priit Laes (irc: plaes)
Details | Splinter Review

Description Priit Laes (irc: plaes) 2012-08-11 09:09:17 UTC
Telepathy-glib-0.19.6 fails to build with gcc-4.5:

../telepathy-glib/base-connection.h:41:34: error: redefinition of typedef 'TpBaseConnection'
../telepathy-glib/handle-repo.h:41:34: note: previous declaration of 'TpBaseConnection' was here
Comment 1 Priit Laes (irc: plaes) 2012-08-11 09:28:46 UTC
Created attachment 65419 [details] [review]
telepathy-glib-gcc-4.5.patch
Comment 2 Simon McVittie 2012-08-12 17:05:49 UTC
Already fixed in git (Bug #53100), with essentially the same patch. Will be fixed in 0.19.7.

Unfortunately, gcc >= 4.6 doesn't seem to have an option to disallow this.

*** This bug has been marked as a duplicate of bug 53100 ***


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.