[scribus] Build error on Arch Linux 64 bit, scribus 1.5.3svn r21750
Stefan Husmann
stefan-husmann at t-online.de
Sat Feb 4 20:24:21 UTC 2017
Hello,
I cannot compile the version of scibus that was established by the most
recent commit 21750 on svn.
This is what I get:
[ 90%] Built target txtim
[ 90%] Building CXX object scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o
/home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp: In member function 'void XtgScanner::xtgParse()':
/home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:1520:21: error: ambiguous overload for 'operator!=' (operand types are 'QChar' and 'char')
while (lookAhead() != '\0')
~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt/QtCore/QString:1:0,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:
/usr/include/qt/QtCore/qstring.h:1639:13: note: candidate: bool operator!=(QChar, const QStringRef&)
inline bool operator!=(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }
^~~~~~~~
/usr/include/qt/QtCore/qstring.h:1625:13: note: candidate: bool operator!=(const QString&, QChar)
inline bool operator!=(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return !(rhs == lhs); }
^~~~~~~~
/usr/include/qt/QtCore/qstring.h:1620:13: note: candidate: bool operator!=(QChar, const QString&)
inline bool operator!=(QChar lhs, const QString &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }
^~~~~~~~
/usr/include/qt/QtCore/qstring.h:1567:13: note: candidate: bool operator!=(const QString&, const QStringRef&)
inline bool operator!=(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return lhs.compare(rhs) != 0; }
^~~~~~~~
In file included from /usr/include/qt/QtCore/qstring.h:48:0,
from /usr/include/qt/QtCore/QString:1,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:
/usr/include/qt/QtCore/qchar.h:576:30: note: candidate: constexpr bool operator!=(QChar, QChar)
Q_DECL_CONSTEXPR inline bool operator!=(QChar c1, QChar c2) Q_DECL_NOTHROW { return !operator==(c1, c2); }
^~~~~~~~
make[2]: *** [scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/build.make:85: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3745: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/all] Error 2
Revision 21748 was built successfully, I did not try 21749.
Btw., I wanted to report this on Mantis, but my account obviously only has
readonly access there. Is it the correct way to post here?
Best Regards
Stefan Husmann (haawda on Mantis)
More information about the scribus
mailing list