<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 4 Feb 2017, at 21:24, Stefan Husmann <<a href="mailto:stefan-husmann@t-online.de" class="">stefan-husmann@t-online.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello,<br class=""><br class="">I cannot compile the version of scibus that was established by the most<br class="">recent commit 21750 on svn.<br class=""><br class="">This is what I get: <br class=""><br class="">[ 90%] Built target txtim<br class="">[ 90%] Building CXX object scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o<br class="">/home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp: In member function 'void XtgScanner::xtgParse()':<br class="">/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')<br class="">  while (lookAhead() != '\0')<br class="">         ~~~~~~~~~~~~^~~~~~~<br class="">In file included from /usr/include/qt/QtCore/QString:1:0,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:<br class="">/usr/include/qt/QtCore/qstring.h:1639:13: note: candidate: bool operator!=(QChar, const QStringRef&)<br class=""> inline bool operator!=(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }<br class="">             ^~~~~~~~<br class="">/usr/include/qt/QtCore/qstring.h:1625:13: note: candidate: bool operator!=(const QString&, QChar)<br class=""> inline bool operator!=(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return !(rhs == lhs); }<br class="">             ^~~~~~~~<br class="">/usr/include/qt/QtCore/qstring.h:1620:13: note: candidate: bool operator!=(QChar, const QString&)<br class=""> inline bool operator!=(QChar lhs, const QString &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }<br class="">             ^~~~~~~~<br class="">/usr/include/qt/QtCore/qstring.h:1567:13: note: candidate: bool operator!=(const QString&, const QStringRef&)<br class=""> inline bool operator!=(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return lhs.compare(rhs) != 0; }<br class="">             ^~~~~~~~<br class="">In file included from /usr/include/qt/QtCore/qstring.h:48:0,<br class="">                 from /usr/include/qt/QtCore/QString:1,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,<br class="">                 from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:<br class="">/usr/include/qt/QtCore/qchar.h:576:30: note: candidate: constexpr bool operator!=(QChar, QChar)<br class=""> Q_DECL_CONSTEXPR inline bool operator!=(QChar c1, QChar c2) Q_DECL_NOTHROW { return !operator==(c1, c2); }<br class="">                              ^~~~~~~~<br class="">make[2]: *** [scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/build.make:85: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o] Error 1<br class="">make[1]: *** [CMakeFiles/Makefile2:3745: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/all] Error 2<br class=""><br class="">Revision 21748 was built successfully, I did not try 21749.<br class=""><br class="">Btw., I wanted to report this on Mantis, but my account obviously only has<br class="">readonly access there. Is it the correct way to post here?<br class=""><br class="">Best Regards<br class=""><br class="">Stefan Husmann (haawda on Mantis)<br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">Hi Stefan</div><div class=""><br class=""></div><div class="">This error is weird in that:</div><div class="">- nothing in the revision from 21749 or 21750 would affect this code.</div><div class="">- I can build it fine on OSX and Ubuntu 15.04 and 16.10.</div><div class=""><br class=""></div><div class="">I suspect your system must have updated something in between. gcc, or some compilation related dependency.</div><div class=""><br class=""></div><div class="">Anyway, we’ll adjust it.</div><div class=""><br class=""></div><div class="">Your account should work fine on <a href="http://bugs.scribus.net" class="">bugs.scribus.net</a>, nothing wrong with it from what I see.</div><div class=""><br class=""></div><div class="">thanks</div><div class="">Craig</div></body></html>