Bug 36085

Summary: Telepathy-gabble doesn't compile with GCC 4.6 with openssl
Product: Telepathy Reporter: Marc Plano-Lesay <marc.planolesay>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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
Comment 1 GitLab Migration User 2019-12-03 19:51:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/140.

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.