Image 01
profile-image

EG001

Eugene Gomonuk
SIM Instant Messenger

Chat & Messenging by Diavolo 63 comments

I tried to compile it from sources.
Got this:
contacts.cpp:1673: error: `char SIM::BACKUP_SUFFIX[2]' previously defined here
In file included from preview.cpp:18,
from libsim_la.all_cpp.cpp:21:
preview.h:30: error: redefinition of `class FilePreview'
preview.h:30: error: previous definition of `class FilePreview'
preview.h:30: warning: `struct FilePreview' has virtual functions but
non-virtual destructor
In file included from libsim_la.all_cpp.cpp:21:
preview.cpp: In constructor `FilePreview::FilePreview(QWidget*)':
preview.cpp:33: error: type `class KPreviewWidgetBase' is not a direct base of
`FilePreview'
In file included from sockfactory.cpp:43,
from libsim_la.all_cpp.cpp:29:
/usr/lib/qt/include/qdns.h: At global scope:
/usr/lib/qt/include/qdns.h:64: error: parse error before numeric constant
/usr/lib/qt/include/qdns.h:70: error: missing ';' before right brace
/usr/lib/qt/include/qdns.h:72: error: parse error before `)' token
/usr/lib/qt/include/qdns.h:73: error: parse error before `const'
/usr/lib/qt/include/qdns.h:74: error: parse error before `const'
/usr/lib/qt/include/qdns.h:75: error: destructors must be member functions
/usr/lib/qt/include/qdns.h:75: error: virtual outside class declaration
/usr/lib/qt/include/qdns.h:78: error: virtual outside class declaration
/usr/lib/qt/include/qdns.h:79: error: virtual outside class declaration
/usr/lib/qt/include/qdns.h:80: error: non-member function `QString label()'
cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h: In function `QString label()':
/usr/lib/qt/include/qdns.h:80: error: `l' undeclared (first use this function)
/usr/lib/qt/include/qdns.h:80: error: (Each undeclared identifier is reported
only once for each function it appears in.)
/usr/lib/qt/include/qdns.h: At global scope:
/usr/lib/qt/include/qdns.h:82: error: `RecordType' was not declared in this
scope
/usr/lib/qt/include/qdns.h:82: error: parse error before `=' token
/usr/lib/qt/include/qdns.h:82: error: virtual outside class declaration
/usr/lib/qt/include/qdns.h:83: error: parse error before `)' token
/usr/lib/qt/include/qdns.h:86: error: non-member function `_Bool isWorking()'
cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:89: error: non-member function `
QValueList addresses()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:99: error: non-member function `
QValueList mailServers()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:111: error: non-member function `QValueList
servers()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:113: error: non-member function `QStringList
hostNames()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:115: error: non-member function `QStringList texts()
' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:117: error: non-member function `QString
canonicalName()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h:119: error: non-member function `QStringList
qualifiedNames()' cannot have `const' method qualifier
/usr/lib/qt/include/qdns.h: In function `QStringList qualifiedNames()':
/usr/lib/qt/include/qdns.h:119: error: `n' undeclared (first use this function)
/usr/lib/qt/include/qdns.h: At global scope:
/usr/lib/qt/include/qdns.h:126: error: parse error before `protected'
/usr/lib/qt/include/qdns.h:140: error: `QString l' used prior to declaration
/usr/lib/qt/include/qdns.h:141: error: `QStringList n' used prior to
declaration
/usr/lib/qt/include/qdns.h:142: error: 'RecordType' is used as a type, but is
not defined as a type.
/usr/lib/qt/include/qdns.h:145: error: `friend' can only be specified inside a
class
/usr/lib/qt/include/qdns.h:146: error: `friend' can only be specified inside a
class
/usr/lib/qt/include/qdns.h:147: error: parse error before `}' token
In file included from libsim_la.all_cpp.cpp:29:
sockfactory.cpp: In constructor `SIM::SIMResolver::SIMResolver(QObject*, const
char*)':
sockfactory.cpp:91: error: parse error before `(' token
sockfactory.cpp: In member function `SIM::SIMResolver::SIMResolver(QObject*,
const char*)':
sockfactory.cpp:77: warning: unused parameter `const char*host'
sockfactory.cpp: In member function `long unsigned int SIM::SIMResolver::addr()
':
sockfactory.cpp:117: error: `addresses' undeclared (first use this function)
sockfactory.cpp: In member function `std::string SIM::SIMResolver::host()':
sockfactory.cpp:124: error: `label' undeclared (first use this function)
sockfactory.cpp: In constructor `SIM::IPResolver::IPResolver()':
sockfactory.cpp:588: error: parse error before `;' token
sockfactory.cpp:589: error: `Ptr' is not a member of type `QDns'
sockfactory.cpp:589: error: `setRecordType' undeclared (first use this
function)
sockfactory.cpp: In member function `void SIM::IPResolver::resolve_ready()':
sockfactory.cpp:603: error: `hostNames' undeclared (first use this function)
sockfactory.cpp: In member function `void SIM::IPResolver::start_resolve()':
sockfactory.cpp:626: error: `isWorking' undeclared (first use this function)
sockfactory.cpp:637: error: parse error before `(' token
sockfactory.cpp:637: error: `__x' undeclared (first use this function)
sockfactory.cpp:637: error: `__v' undeclared (first use this function)
sockfactory.cpp: At global scope:
sockfactory.cpp:637: error: parse error before `)' token
sockfactory.cpp:638: error: `resolver' was not declared in this scope
sockfactory.cpp:638: error: invalid use of `this' at top level
sockfactory.cpp:638: error: ISO C++ forbids declaration of `connect' with no
type
sockfactory.cpp:638: error: initializer list being treated as compound
expression
sockfactory.cpp:644: error: parse error before `}' token
In file included from libsim_la.all_cpp.cpp:31:
textshow.cpp: In member function `virtual _Bool TextEdit::eventFilter(QObject*,
QEvent*)':
textshow.cpp:254: error: parse error before numeric constant
textshow.cpp:253: warning: unused parameter `QObject*o'
/usr/include/c++/3.3.4/bits/stl_map.h: At global scope:
/usr/include/c++/3.3.4/bits/stl_map.h:120: warning: missing initializer for
member `__si_class_type_info_pseudo::'
/usr/lib/qt/include/qdns.h:135: warning: `QString toInAddrArpaDomain(const
QHostAddress&)' declared `static' but never defined


System - Linux Slackware 10.0, GCC 3.3.4, QT 3.3.2 - Aug 27 2004