Summary: | dev-cpp/commoncpp2-1.8.1-r1 with >=net-libs/gnutls-3.4.0: ssl.cpp:337:69: error: ‘gnutls_certificate_type_set_priority’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | PhobosK <phobosk> |
Component: | Current packages | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alonbl, jamiahx, phobosk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=582812 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 546124 | ||
Attachments: | Complete build log |
Description
PhobosK
2016-05-15 18:32:09 UTC
This bug is also present on my box. Coincident packages & configurations: * dev-cpp/commoncpp2-1.8.1-r1::gentoo[ +gnutls, +ipv6, +ssl], and * net-libs/gnutls-3.4.14:0/30::gentoo[+abi_x86_32, +abi_x86_64, +crywrap, +cxx, +dane, +linguas_en, +nls, +openssl, +tools, +zlib] The messages thrown by my box note the locations of the relevant depreciation declarations: ################################################################################ [...] In file included from ssl.cpp:51:0: ../inc/cc++/ssl.h:61:21: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] gnutls_session session; ^ In file included from /usr/include/gnutls/gnutls.h:2594:0, from ../inc/cc++/ssl.h:59, from ssl.cpp:51: /usr/include/gnutls/compat.h:78:26: note: declared here typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED; ^ In file included from ssl.cpp:51:0: ../inc/cc++/ssl.h:62:36: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] gnutls_certificate_credentials xcred; ^ In file included from /usr/include/gnutls/gnutls.h:2594:0, from ../inc/cc++/ssl.h:59, from ssl.cpp:51: /usr/include/gnutls/compat.h:95:5: note: declared here gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED; ^ ssl.cpp: In member function ‘bool ost::SSLStream::getSession()’: ssl.cpp:337:69: error: ‘gnutls_certificate_type_set_priority’ was not declared in this scope gnutls_certificate_type_set_priority(ssl->session, cert_priority); ^ ssl.cpp:339:45: warning: ‘gnutls_transport_ptr’ is deprecated [-Wdeprecated-declarations] gnutls_transport_set_ptr(ssl->session, (gnutls_transport_ptr)so); ^ In file included from /usr/include/gnutls/gnutls.h:2594:0, from ../inc/cc++/ssl.h:59, from ssl.cpp:51: /usr/include/gnutls/compat.h:113:32: note: declared here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ssl.cpp:339:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gnutls_transport_set_ptr(ssl->session, (gnutls_transport_ptr)so); [...] ################################################################################ Will attach build.log. Created attachment 441824 [details]
Complete build log
Fixed in commoncpp2-1.8.1-r3, please check. |