Re: Main window position

"George L. Yermulnik" <[email protected]> Fri, 13 Jan 2012 12:43:42 +0200
Newsgroups gmane.network.licq.general
Message-ID <[email protected]>
Hello!

On Tue, 10 Jan 2012 at 22:03:21 (+0100), Anders Olofsson wrote:

> After opening the code I see that it already works this way. However the 
> hotkey for the main window was added in Licq 1.6.0 so I guess you now 
> have another reason to upgrade.

Trying to build Licq 1.6.0, but got no success =(
Using GCC 4.2 from base system (FreeBSD 8.2):
--- cut ---
[skipped]
[  6%] Building CXX object src/CMakeFiles/licq.dir/daemon.cpp.o
In file included from /usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:22:
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.h:90: error: cannot declare variable 'LicqDaemon::gDaemon' to be of abstract type 'LicqDaemon::Daemon'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.h:33: note:   because the following virtual functions are pure within 'LicqDaemon::Daemon':
/usr/local/include/licq/daemon.h:66: note:      virtual Licq::LogService& Licq::Daemon::getLogService()
In file included from /usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:48:
/usr/ports/net-im/licq/work/licq-1.6.0/src/contactlist/usermanager.h:186: error: cannot declare variable 'LicqDaemon::gUserManager' to be of abstract type 'LicqDaemon::UserManager'
/usr/ports/net-im/licq/work/licq-1.6.0/src/contactlist/usermanager.h:42: note:   because the following virtual functions are pure within 'LicqDaemon::UserManager':
/usr/local/include/licq/contactlist/usermanager.h:234: note:    virtual void Licq::UserManager::userStatusChanged(const Licq::UserId&, unsigned int)
/usr/local/include/licq/contactlist/usermanager.h:243: note:    virtual void Licq::UserManager::ownerStatusChanged(long unsigned int, unsigned int)
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:66: error: cannot declare variable 'LicqDaemon::gDaemon' to be of abstract type 'LicqDaemon::Daemon'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.h:33: note:   since type 'LicqDaemon::Daemon' has pure virtual functions
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp: In member function 'void LicqDaemon::Daemon::initialize()':
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:120: error: 'ProxyTypeHttp' was not declared in this scope
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:143: error: 'gLogService' is not a member of 'Licq'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp: In member function 'virtual void LicqDaemon::Daemon::SaveConf()':
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:241: error: 'class Licq::Owner' has no member named 'save'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:241: error: 'SaveOwnerInfo' is not a member of 'Licq::User'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:245: error: 'protocolId_toString' is not a member of 'Licq'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp: In member function 'Licq::Proxy* Licq::Daemon::createProxy()':
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:341: error: 'ProxyTypeHttp' was not declared in this scope
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp: In member function 'virtual bool LicqDaemon::Daemon::addUserEvent(Licq::User*, Licq::UserEvent*)':
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:392: error: 'class Licq::UserEvent' has no member named 'eventType'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:392: error: 'TypeEmailPager' is not a member of 'Licq::UserEvent'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:393: error: 'class Licq::UserEvent' has no member named 'eventType'
/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp:393: error: 'TypeWebPanel' is not a member of 'Licq::UserEvent'
*** Error code 1
--- cut ---

Using GCC 4.4 from ports collection (FreeBSD 8.2):
--- cut ---
[skipped]
Linking CXX executable unittest
[ 95%] Built target unittest
Scanning dependencies of target unittest_run
[ 95%] Running unit test
Test project /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/src
    Start 1: licq
1/1 Test #1: licq .............................***Failed    0.00 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.00 sec

The following tests FAILED:
          1 - licq (Failed)
Errors while running CTest
*** Error code 8
--- cut ---

Problem with running Licq built using non-default GCC (not from base
system) exists for a long time and, I guess, is related to some libs
from base system built with GCC from base system.

Licq 1.5.1 builds and runs fine with GCC 4.2 from my base system. But
1.6.0 - does not. Have you got any ideas what should I do to "fight
down" this? =)

-- 
George L. Yermulnik
[YZ-RIPE]