Ticket #746 (closed defect: Fixed)

Opened 3 years ago

Last modified 39 years ago

licq with gcc 4.0 and g++ 4.0

Reported by: nobody Owned by: emostar
Priority: normal Milestone:
Component: build Version:
Keywords: Cc:

Description

licq-20050709 (CVS snapshot) won't compile using gcc 4.0.1 and g++ 4.0.1. The same happens with 20050708 snapshot and gcc/g++ 4.0. To be more precise, qt-gui is what won't compile. The compiler complains about a declaration in line 48 of the file messagebox.h on the qt-gui plugin. That part of the file reads:

protected:

CMsgViewTips *tips;

I changed it to:

protected:

class CMsgViewTips *tips;

Now it works perfectly. I believe gcc and g++ 4.0 are more strict about declarations. I also get lots of warnings. Just for the record I have a PC running Debian Sid (upgraded daily) and I using ./configure --with-kde to compile the qt-plugin. Hope it helps in some way. Keep up the good job! Cheers.

Seba

Change History

Changed 3 years ago by emostar

Logged In: YES user_id=21415

GCC 4.0 has been blacklisted by the KDE team. Don't expect Licq to work with it either..

Changed 3 years ago by emostar

  • status changed from assigned to closed

Logged In: YES user_id=21415

The qt-gui works... not sure about the kde-gui.

Changed 3 years ago by emostar

Logged In: YES user_id=21415

This is fixed in the latest CVS version of Licq. It will be included in the next release, or you may use the CVS version. Read http://www.licq.org/daily.php

Note: See TracTickets for help on using tickets.