Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] GNUTLS error 3.+ #246

Closed
SeLEct- opened this issue Jul 5, 2012 · 1 comment
Closed

[2.0] GNUTLS error 3.+ #246

SeLEct- opened this issue Jul 5, 2012 · 1 comment
Milestone

Comments

@SeLEct-
Copy link

SeLEct- commented Jul 5, 2012

Hello.
I was getting this error with the latest version of gnutls on apt resp while trying to make.
I'm now using version 2.8.5 and can build without any errors.
So it seems it "breaks" somewhere along 2.8.5 and 3.0.11.

Locating include directory for package gnutls for module m_ssl_gnutls.cpp... -I/usr/include/p11-kit-1   -DVERSION_GNUTLS="3.0.11" (version 3.0.11)
Locating library directory for package gnutls for module m_ssl_gnutls.cpp... -lgnutls   (version 3.0.11)
 BUILD:modules/m_ssl_gnutls.cpp /home/user/inspircd/src/modules/m_ssl_gnutls.cpp: In member function âvirtua               l void ModuleSSLGnuTLS::OnModuleRehash(User*, const string&)â: /home/user/inspircd/src/modules/m_ssl_gnutls.cpp:308:3: warning: âvoid gnutls_certificate_client_set_retrieve_function(gnutls_certificate_credentials_t, int   (*)(gnutls_session_t, const gnutls_datum_t*, int, const gnutls_pk_algorithm_t*,int, gnutls_retr_st*))â is deprecated (declared at /usr/include/gnutls/compat.h:184) [-Wdeprecated-declarations] /home/user/inspircd/src/modules/m_ssl_gnutls.cpp:308:76: warning: âvoid gnutls_certificate_client_set_retrieve_function(gnutls_certificate_credentials_t, in  t (*)(gnutls_session_t, const gnutls_datum_t*, int, const gnutls_pk_algorithm_t*, int, gnutls_retr_st*))â is deprecated (declared at /usr/include/gnutls/compat.h:184) [-Wdeprecated-declarations]
@attilamolnar
Copy link
Member

-Wdeprecated-declarations shouldn't be enabled when compiling m_ssl_gnutls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants