Mezomish / juffed

JuffEd text editor
GNU General Public License v2.0
56 stars 19 forks source link

Build Failure #106

Closed SolarAquarion closed 2 years ago

SolarAquarion commented 6 years ago

local/qscintilla-qt5 2.10.4-1

[ 27%] Building CXX object CMakeFiles/juffed-engine-qsci.dir/juffed-engine-qsci_autogen/mocs_compilation.cpp.o
In file included from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/moc_qscilexerada.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:2:
/build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/../../../juffed/src/app/qsci/lexers/qscilexerada.h:7:19: error: expected identifier before numeric constant
 #define SCLEX_ADA 20
                   ^~
/build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/../../../juffed/src/app/qsci/lexers/qscilexerada.h:7:19: error: expected ‘}’ before numeric constant
In file included from /usr/include/qt/Qsci/qscicommand.h:27,
                 from /usr/include/qt/Qsci/qsciscintilla.h:32,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/../../../juffed/src/app/qsci/JuffScintilla.h:26,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/moc_JuffScintilla.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:7:
/usr/include/qt/Qsci/qsciscintillabase.h:2963:5: note: to match this ‘{’
     {
     ^
In file included from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/moc_qscilexerada.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:2:
/build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/../../../juffed/src/app/qsci/lexers/qscilexerada.h:7:19: error: expected unqualified-id before numeric constant
 #define SCLEX_ADA 20
                   ^~
In file included from /usr/include/qt/Qsci/qscicommand.h:27,
                 from /usr/include/qt/Qsci/qsciscintilla.h:32,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/../../../juffed/src/app/qsci/JuffScintilla.h:26,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/moc_JuffScintilla.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:7:
/usr/include/qt/Qsci/qsciscintillabase.h:3378:39: error: expected ‘)’ before ‘*’ token
     explicit QsciScintillaBase(QWidget *parent = 0);
                               ~       ^~
                                       )
/usr/include/qt/Qsci/qsciscintillabase.h:3381:32: error: declaration of ‘~QsciScintillaBase’ as non-member
     virtual ~QsciScintillaBase();
                                ^
/usr/include/qt/Qsci/qsciscintillabase.h:3401:30: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, long int)’ cannot have cv-qualifier
             long lParam = 0) const;
                              ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3405:27: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, void*)’ cannot have cv-qualifier
             void *lParam) const;
                           ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3409:33: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, const char*)’ cannot have cv-qualifier
             const char *lParam) const;
                                 ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3412:62: error: non-member function ‘long int SendScintilla(unsigned int, const char*)’ cannot have cv-qualifier
     long SendScintilla(unsigned int msg, const char *lParam) const;
                                                              ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3416:33: error: non-member function ‘long int SendScintilla(unsigned int, const char*, const char*)’ cannot have cv-qualifier
             const char *lParam) const;
                                 ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3419:55: error: non-member function ‘long int SendScintilla(unsigned int, long int)’ cannot have cv-qualifier
     long SendScintilla(unsigned int msg, long wParam) const;
                                                       ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3422:54: error: non-member function ‘long int SendScintilla(unsigned int, int)’ cannot have cv-qualifier
     long SendScintilla(unsigned int msg, int wParam) const;
                                                      ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3426:30: error: non-member function ‘long int SendScintilla(unsigned int, long int, long int, char*)’ cannot have cv-qualifier
             char *lpstrText) const;
                              ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3430:32: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, const QColor&)’ cannot have cv-qualifier
             const QColor &col) const;
                                ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3433:61: error: non-member function ‘long int SendScintilla(unsigned int, const QColor&)’ cannot have cv-qualifier
     long SendScintilla(unsigned int msg, const QColor &col) const;
                                                             ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3437:54: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, QPainter*, const QRect&, long int, long int)’ cannot have cv-qualifier
             const QRect &rc, long cpMin, long cpMax) const;
                                                      ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3441:36: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, const QPixmap&)’ cannot have cv-qualifier
             const QPixmap &lParam) const;
                                    ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3445:35: error: non-member function ‘long int SendScintilla(unsigned int, long unsigned int, const QImage&)’ cannot have cv-qualifier
             const QImage &lParam) const;
                                   ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3448:52: error: non-member function ‘void* SendScintillaPtrResult(unsigned int)’ cannot have cv-qualifier
     void *SendScintillaPtrResult(unsigned int msg) const;
                                                    ^~~~~
In file included from /usr/include/qt/QtGui/qwindowdefs.h:44,
                 from /usr/include/qt/QtGui/qfont.h:44,
                 from /usr/include/qt/QtGui/QFont:1,
                 from /usr/include/qt/Qsci/qscilexer.h:25,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/../../../juffed/src/app/qsci/lexers/qscilexerada.h:4,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/HJY3QJUKGU/moc_qscilexerada.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:2:
/usr/include/qt/Qsci/qsciscintillabase.h:3453:1: error: expected unqualified-id before ‘public’
 signals:
 ^~~~~~~
In file included from /usr/include/qt/Qsci/qscicommand.h:27,
                 from /usr/include/qt/Qsci/qsciscintilla.h:32,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/../../../juffed/src/app/qsci/JuffScintilla.h:26,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/NUETKEGESQ/moc_JuffScintilla.cpp:9,
                 from /build/juffed-qt5-git/src/build/juffed-engine-qsci_autogen/mocs_compilation.cpp:7:
/usr/include/qt/Qsci/qsciscintillabase.h:3638:1: error: expected unqualified-id before ‘protected’
 protected:
 ^~~~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3653:5: error: ‘virtual’ outside class declaration
     virtual QByteArray fromMimeData(const QMimeData *source, bool &rectangular) const;
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3653:81: error: non-member function ‘QByteArray fromMimeData(const QMimeData*, bool&)’ cannot have cv-qualifier
     virtual QByteArray fromMimeData(const QMimeData *source, bool &rectangular) const;
                                                                                 ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3663:5: error: ‘virtual’ outside class declaration
     virtual QMimeData *toMimeData(const QByteArray &text, bool rectangular) const;
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3663:77: error: non-member function ‘QMimeData* toMimeData(const QByteArray&, bool)’ cannot have cv-qualifier
     virtual QMimeData *toMimeData(const QByteArray &text, bool rectangular) const;
                                                                             ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3666:5: error: ‘virtual’ outside class declaration
     virtual void contextMenuEvent(QContextMenuEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3669:5: error: ‘virtual’ outside class declaration
     virtual void dragEnterEvent(QDragEnterEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3672:5: error: ‘virtual’ outside class declaration
     virtual void dragLeaveEvent(QDragLeaveEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3675:5: error: ‘virtual’ outside class declaration
     virtual void dragMoveEvent(QDragMoveEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3678:5: error: ‘virtual’ outside class declaration
     virtual void dropEvent(QDropEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3681:5: error: ‘virtual’ outside class declaration
     virtual void focusInEvent(QFocusEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3684:5: error: ‘virtual’ outside class declaration
     virtual void focusOutEvent(QFocusEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3687:5: error: ‘virtual’ outside class declaration
     virtual bool focusNextPrevChild(bool next);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3690:5: error: ‘virtual’ outside class declaration
     virtual void keyPressEvent(QKeyEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3693:5: error: ‘virtual’ outside class declaration
     virtual void inputMethodEvent(QInputMethodEvent *event);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3694:5: error: ‘virtual’ outside class declaration
     virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3694:67: error: non-member function ‘QVariant inputMethodQuery(Qt::InputMethodQuery)’ cannot have cv-qualifier
     virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
                                                                   ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3697:5: error: ‘virtual’ outside class declaration
     virtual void mouseDoubleClickEvent(QMouseEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3700:5: error: ‘virtual’ outside class declaration
     virtual void mouseMoveEvent(QMouseEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3703:5: error: ‘virtual’ outside class declaration
     virtual void mousePressEvent(QMouseEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3706:5: error: ‘virtual’ outside class declaration
     virtual void mouseReleaseEvent(QMouseEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3709:5: error: ‘virtual’ outside class declaration
     virtual void paintEvent(QPaintEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3712:5: error: ‘virtual’ outside class declaration
     virtual void resizeEvent(QResizeEvent *e);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3715:5: error: ‘virtual’ outside class declaration
     virtual void scrollContentsBy(int dx, int dy);
     ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3726:53: error: non-member function ‘ScintillaBytes textAsBytes(const QString&)’ cannot have cv-qualifier
     ScintillaBytes textAsBytes(const QString &text) const;
                                                     ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3729:44: error: non-member function ‘QString bytesAsText(const char*)’ cannot have cv-qualifier
     QString bytesAsText(const char *bytes) const;
                                            ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3731:1: error: expected unqualified-id before ‘private’
 private slots:
 ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3736:1: error: expected unqualified-id before ‘private’
 private:
 ^~~~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3755:23: error: expected unqualified-id before ‘const’
     QsciScintillaBase(const QsciScintillaBase &);
                       ^~~~~
/usr/include/qt/Qsci/qsciscintillabase.h:3755:23: error: expected ‘)’ before ‘const’
     QsciScintillaBase(const QsciScintillaBase &);
                      ~^~~~~
                       )
/usr/include/qt/Qsci/qsciscintillabase.h:3756:59: error: ‘QsciScintillaBase& operator=(const QsciScintillaBase&)’ must be a nonstatic member function
     QsciScintillaBase &operator=(const QsciScintillaBase &);
                                                           ^
/usr/include/qt/Qsci/qsciscintillabase.h:3757:1: error: expected declaration before ‘}’ token
 };
 ^
make[2]: *** [CMakeFiles/juffed-engine-qsci.dir/build.make:236: CMakeFiles/juffed-engine-qsci.dir/juffed-engine-qsci_autogen/mocs_compilation.cpp.o] Error 1
q4a commented 6 years ago

Check this fork: https://github.com/a17r/juffed

q4a commented 2 years ago

This should be fixed with: https://github.com/Mezomish/juffed/commit/5315aee51213a68f946b1c387d513bc2a5e67560