[squid-users] squid5 build error
joseph
chip_pop at hotmail.com
Wed Sep 27 13:57:34 UTC 2017
latest debian and latest gcc in repo
squid-5.0.0-20170919-r478fb99.tar.gz
gcc version 6.3.0 20170516 (Debian 6.3.0-18)
any idea or its some code need to be converted to work with latest gcc ??
gadgets.cc: In function ‘const ASN1_BIT_STRING*
Ssl::X509_get_signature(const CertPointer&)’:
gadgets.cc:960:25: error: invalid conversion from ‘ASN1_BIT_STRING** {aka
asn1_string_st**}’ to ‘const ASN1_BIT_STRING** {aka const
asn1_string_st**}’ [-fpermissive]
X509_get0_signature(&sig, &sig_alg, cert.get());
^~~~
In file included from /usr/include/openssl/ssl.h:50:0,
from ../../src/security/Context.h:16,
from ../../src/security/forward.h:13,
from ../../src/ssl/gadgets.h:13,
from gadgets.cc:10:
/usr/include/openssl/x509.h:552:6: note: initializing argument 1 of
‘void X509_get0_signature(const ASN1_BIT_STRING**, const X509_ALGOR**,
const X509*)’
void X509_get0_signature(const ASN1_BIT_STRING **psig,
^~~~~~~~~~~~~~~~~~~
gadgets.cc:960:31: error: invalid conversion from ‘X509_ALGOR** {aka
X509_algor_st**}’ to ‘const X509_ALGOR** {aka const X509_algor_st**}’
[-fpermissive]
X509_get0_signature(&sig, &sig_alg, cert.get());
^~~~~~~~
In file included from /usr/include/openssl/ssl.h:50:0,
from ../../src/security/Context.h:16,
from ../../src/security/forward.h:13,
from ../../src/ssl/gadgets.h:13,
from gadgets.cc:10:
/usr/include/openssl/x509.h:552:6: note: initializing argument 2 of
‘void X509_get0_signature(const ASN1_BIT_STRING**, const X509_ALGOR**,
const X509*)’
void X509_get0_signature(const ASN1_BIT_STRING **psig,
^~~~~~~~~~~~~~~~~~~
--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
More information about the squid-users
mailing list