Telepathy-gabble doesn't compile with GCC 4.6 with openssl
Submitted by Marc Plano-Lesay
Assigned to Telepathy bugs list
Description
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
Version: git master