Hello all,
I'm tryng to build WSJTX from wsjtx-2.1.2.tgz downloaded from the WSJT
home page, on an up-to-date Archlinux system.
All works well until:
In file included from
/home/fons/build/build/wsjtx-prefix/src/wsjtx/qt_helpers.cpp:1:
/home/fons/build/build/wsjtx-prefix/src/wsjtx/qt_helpers.hpp: At global scope:
/home/fons/build/build/wsjtx-prefix/src/wsjtx/qt_helpers.hpp:87:10: error:
redefinition of ‘struct std::hash<QString>’
87 | struct hash<QString>
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qhash.h:46,
from /usr/include/qt/QtCore/qshareddata.h:46,
from /usr/include/qt/QtNetwork/qhostaddress.h:47,
from /usr/include/qt/QtNetwork/QHostAddress:1,
from
/home/fons/build/build/wsjtx-prefix/src/wsjtx/qt_helpers.hpp:9,
from
/home/fons/build/build/wsjtx-prefix/src/wsjtx/qt_helpers.cpp:1:
/usr/include/qt/QtCore/qhashfunctions.h:204:1: note: previous definition of
‘struct std::hash<QString>’
204 | QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any hints ?
TIA,
--
FA
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel