Bug 36085 - Telepathy-gabble doesn't compile with GCC 4.6 with openssl
Summary: Telepathy-gabble doesn't compile with GCC 4.6 with openssl
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 10:33 UTC by Marc Plano-Lesay
Modified: 2011-04-08 10:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Plano-Lesay 2011-04-08 10:33:25 UTC
With --with-tls=openssl and GCC 4.6, telepathy-gabble fails to compile :

wocky-openssl.c: In function 'wocky_tls_session_handshake':
wocky-openssl.c:688:15: error: variable 'ignored' set but not used [-Werror=unused-but-set-variable]
wocky-openssl.c: In function 'check_peer_name':
wocky-openssl.c:903:22: error: assignment discards 'const' qualifier from pointer target type [-Werror]
wocky-openssl.c: In function 'wocky_tls_session_write_ready':
wocky-openssl.c:1517:8: error: variable 'ignore_warning' set but not used [-Werror=unused-but-set-variable]
wocky-openssl.c: In function 'wocky_tls_session_constructed':
wocky-openssl.c:1681:23: error: assignment discards 'const' qualifier from pointer target type [-Werror]
wocky-openssl.c:1686:23: error: assignment discards 'const' qualifier from pointer target type [-Werror]
cc1: all warnings being treated as errors


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.