Chris7 / Mudlet2

Mudlet vesion 2.+
GNU General Public License v2.0
3 stars 2 forks source link

master doesn't compile #22

Closed vadi2 closed 10 years ago

vadi2 commented 10 years ago

Getting a lot of efforts of this sort, even after resetting it:

tmp/moc_ircsession.cpp:577:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:578:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:579:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:580:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:581:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:581:61: error: expected type-specifier
tmp/moc_ircsession.cpp:581:61: error: expected '>'
tmp/moc_ircsession.cpp:581:61: error: expected '('
tmp/moc_ircsession.cpp:581:61: error: incomplete type 'QAbstractSocket' used in nested name specifier
tmp/moc_ircsession.cpp:581:91: error: expected primary-expression before ')' token
tmp/moc_ircsession.cpp:582:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:583:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:584:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:585:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:586:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:587:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:588:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:589:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:590:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:591:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:592:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:593:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:594:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:595:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:596:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp:597:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate'
tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate'
tmp/moc_ircsession.cpp: In member function 'virtual int Irc::Session::qt_metacall(QMetaObject::Call, int, void**)':
tmp/moc_ircsession.cpp:787:73: error: invalid use of incomplete type 'struct QStringList'
../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList'
tmp/moc_ircsession.cpp:797:79: error: invalid use of incomplete type 'struct QStringList'
../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList'
tmp/moc_ircsession.cpp:798:77: error: invalid use of incomplete type 'struct QStringList'
../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList'
Chris7 commented 10 years ago

I've never touched the ircsession parts of Mudlet, so it has to be something on your end. Your version of gcc/moc maybe?

On Sun, Oct 13, 2013 at 4:03 PM, Vadim Peretokin notifications@github.comwrote:

Getting a lot of efforts of this sort, even after resetting it:

tmp/moc_ircsession.cpp:577:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:578:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:579:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:580:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:581:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:581:61: error: expected type-specifier tmp/moc_ircsession.cpp:581:61: error: expected '>' tmp/moc_ircsession.cpp:581:61: error: expected '(' tmp/moc_ircsession.cpp:581:61: error: incomplete type 'QAbstractSocket' used in nested name specifier tmp/moc_ircsession.cpp:581:91: error: expected primary-expression before ')' token tmp/moc_ircsession.cpp:582:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:583:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:584:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:585:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:586:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:587:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:588:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:589:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:590:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:591:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:592:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:593:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:594:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:595:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:596:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp:597:30: error: invalid use of incomplete type 'struct Irc::SessionPrivate' tmp/../irc/include/ircsession.h:27:11: error: forward declaration of 'struct Irc::SessionPrivate' tmp/moc_ircsession.cpp: In member function 'virtual int Irc::Session::qt_metacall(QMetaObject::Call, int, void**)': tmp/moc_ircsession.cpp:787:73: error: invalid use of incomplete type 'struct QStringList' ../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList' tmp/moc_ircsession.cpp:797:79: error: invalid use of incomplete type 'struct QStringList' ../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList' tmp/moc_ircsession.cpp:798:77: error: invalid use of incomplete type 'struct QStringList' ../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore/qstring.h:75:7: error: forward declaration of 'struct QStringList'

— Reply to this email directly or view it on GitHubhttps://github.com/Chris7/Mudlet2/issues/22 .

vadi2 commented 10 years ago

Yeah, probably, I think. Now it's saying:

Host.cpp: In member function 'bool Host::installPackage(QString, int)':
Host.cpp:1046:53: error: 'errno' was not declared in this scope
Host.cpp:1068:65: error: 'errno' was not declared in this scope
Host.cpp:1099:53: error: 'errno' was not declared in this scope

Which I think you fixed in another branch.