Ticket #746 (closed defect: Fixed)
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
