Bug 53367

Summary: Build failure with gcc-4.5 - typedef redefinition
Product: Telepathy Reporter: Priit Laes (irc: plaes) <plaes>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: telepathy-glib-gcc-4.5.patch

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.