Code Monkey home page Code Monkey logo

Comments (3)

nitramr avatar nitramr commented on June 20, 2024

Hi @polpodan did you get the same errors by compiling the official Scribus source code too?

In 5.7.1 there are a lot of changes and fixes. Maybe some old warnings are bugs yet. I will try to check it out by using 5.7.1. too.

from scribus-indigo.

polpodan avatar polpodan commented on June 20, 2024

I've got the same error with scribus-svn (using Arch Linux by the way)
Seems to be related to xtgscanner.cpp
By the way, it compiles fine with qt 5.7.1; i'm using qt 5.8 rc.
Thanks!

[ 90%] Building CXX object scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o
/tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp: Dans la fonction membre ‘void XtgScanner::xtgParse()’:
/tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:1520:21: erreur : 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 /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
from /tmp/yaourt-tmp-danym/aur-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 /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
from /tmp/yaourt-tmp-danym/aur-scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
from /tmp/yaourt-tmp-danym/aur-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
make: *** [Makefile:150: all] Error 2
==> ERREUR : Une erreur s’est produite dans build().
Abandon...
==> ERREUR : Makepkg n'a pas pu construire scribus-svn.

from scribus-indigo.

luzpaz avatar luzpaz commented on June 20, 2024

@polpodan please open a ticket upstream in the official scribus bugtracker http://bugs.scribus.net

from scribus-indigo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.