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

master MAC-build fail !!! #94

Open
bxlkm opened this issue Jun 27, 2019 · 2 comments
Open

master MAC-build fail !!! #94

bxlkm opened this issue Jun 27, 2019 · 2 comments

Comments

@bxlkm
Copy link

bxlkm commented Jun 27, 2019

Making all in src
CXX qt/libbitcoinqt_a-BlockingHttp.o
In file included from qt/BlockingHttp.cpp:2:
./qt/BlockingHttp.h:14:7: error: redefinition of 'QSslError'
class QSslError{ int v; };
^
/usr/local/Cellar/qt/5.12.3/lib/QtNetwork.framework/Headers/qsslerror.h:54:24: note:
previous definition is here
class Q_NETWORK_EXPORT QSslError
^

@neurocod
Copy link

neurocod commented Jun 27, 2019

This is strange. Second (conflicting) definition is introduced as:

#ifdef QT_NO_OPENSSL
class QSslError{ int v; };
#endif

And you have both QT_NO_OPENSSL and included proper QSslError file. In windows there were only one of those.

@neurocod
Copy link

The solution may be to guard other usages of QSslError in this file depending on this directive QT_NO_OPENSSL, so we don't need to introduce duplicating definition.

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

No branches or pull requests

2 participants