Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Arch Linux
-
29051bce39d24a6e33155feeec2833b79b55ff16
Description
Both the dev and 5.5 branches fail to compile on Arch Linux.
In file included from ssl/qsslsocket_openssl_symbols.cpp:51:0: ssl/qsslsocket_openssl_symbols.cpp: In function ‘DH* q_d2i_DHparams(DH**, unsigned char**, long int)’: ssl/qsslsocket_openssl_symbols_p.h:185:58: error: invalid conversion from ‘unsigned char**’ to ‘const unsigned char**’ [-fpermissive] ret q_##func(arg1, arg2, arg3) { funcret func(a, b, c); } ^ ssl/qsslsocket_openssl_symbols.cpp:402:1: note: in expansion of macro ‘DEFINEFUNC3’ DEFINEFUNC3(DH *, d2i_DHparams, DH**a, a, unsigned char **pp, pp, long length, length, return 0, return); ^ In file included from /usr/include/openssl/dsa.h:83:0, from /usr/include/openssl/x509.h:99, from /usr/include/openssl/ssl.h:156, from ../../include/QtNetwork/5.6.0/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53, from ../../include/QtNetwork/5.6.0/QtNetwork/private/qsslcontext_openssl_p.h:1, from ssl/qsslsocket_p.h:55, from ssl/qsslsocket_openssl_p.h:63, from ssl/qsslsocket_openssl_symbols_p.h:64, from ssl/qsslsocket_openssl_symbols.cpp:51: /usr/include/openssl/dh.h:224:5: note: initializing argument 2 of ‘DH* d2i_DHparams(DH**, const unsigned char**, long int)’ DH *d2i_DHparams(DH **a, const unsigned char **pp, long length); ^ Makefile:22955: recipe for target '.obj/qsslsocket_openssl_symbols.o' failed
This looks like the commit that that causes the issue: https://github.com/qtproject/qtbase/commit/1748b7e7d2f619dc32df7ccbd3aa24316aa63c82
Attachments
Issue Links
- replaces
-
QTBUG-44661 Build error with qssl [-fpermissive]
- Closed