Re: another problem with compiling EBQT on RH8

Chris Boyle <[email protected]>
Newsgroups gmane.network.everybuddy.user
Organization Debian (www.debian.org)
Message-ID <1044390873.20650.26.camel@atlas>
On Tue, 2003-02-04 at 19:52, [email protected] wrote:
> ebqtcontact.cpp:41: default argument given for parameter 2 of `void
>    EbQtContact::addAccount(EbQtAccount*, bool = FALSE)'
> ebqtcontact.h:58: after previous specification in `void
>    EbQtContact::addAccount(EbQtAccount*, bool = FALSE)'

You're using g++ 3, which will not work unless your libqt is also
compiled with g++ >= 3, but once it is, this problem can be fixed with
this tiny patch, which I've applied to the blackhole mirror as of about
2 minutes ago (new filename is eb-lite-alpha-1.1.tar.gz). Let me know if
it still won't build, unless the problem is endless screenfuls of
undefined symbols from ld at the end of compilation, in which case you
need to get a version of Qt compiled with g++ >= 3 and start again.

--- ebqt/ebqt/ebqtcontact.cpp.orig      2003-02-04 20:13:23.000000000 +0000
+++ ebqt/ebqt/ebqtcontact.cpp   2003-02-04 20:04:40.000000000 +0000
@@ -37,7 +37,7 @@
        group()->takeContact(this);
 }

-void EbQtContact::addAccount(EbQtAccount * account, bool makeFirst = FALSE)
+void EbQtContact::addAccount(EbQtAccount * account, bool makeFirst)
 {
        connect(account, SIGNAL(statusChanged()), SLOT(updateAcctsOnline()));
        if (makeFirst)



Hope this helps,

-- 
Chris Boyle - http://people.debian.org/~cmb/
GPG: B7D86E0F, MSN: [email protected], ICQ: 24151961,
AIM: kerneloops, Yahoo: kerneloops, IRC: cmb on openprojects.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.