Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63957 - lincvs-1.3.2 fails to compile with GCC 3.4
Summary: lincvs-1.3.2 fails to compile with GCC 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All All
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 19:28 UTC by Mark Loeser (RETIRED)
Modified: 2004-09-15 13:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple patch to fix compile error (lincvs-1.3.2-gcc34.patch,1.16 KB, patch)
2004-09-13 19:30 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Loeser (RETIRED) gentoo-dev 2004-09-13 19:28:30 UTC
emerging lincvs-1.3.2 fails to compile with GCC 3.4 with the following error:

g++ -c -mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -ftracer -pipe -fweb -Wall -W -D_REENTRANT  -DNO_CLIPBOARD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -I./res -Iconfig -Icvslib -Icompat -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/HistoryDialogImpl.o src/HistoryDialogImpl.cpp
g++ -c -mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -ftracer -pipe -fweb -Wall -W -D_REENTRANT  -DNO_CLIPBOARD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -I./res -Iconfig -Icvslib -Icompat -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/InteractiveCmdThread.o src/InteractiveCmdThread.cpp
/usr/qt/3/include/qfile.h: In member function `virtual void HistoryDialogImpl::afterCall(int, CvsBuffer*, bool)':
/usr/qt/3/include/qfile.h:115: error: `QFile::QFile(const QFile&)' is private
src/HistoryDialogImpl.cpp:271: error: within this context
make: *** [.obj/HistoryDialogImpl.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-util/lincvs-1.3.2 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! make failed
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2004-09-13 19:30:10 UTC
Created attachment 39547 [details, diff]
Simple patch to fix compile error

The QFile copy constructor is a private member of the class, and with how they
use it in lincvs, it apparently needs to use it.  By initializing the variable
first, then passing it to the function, it solves the issue.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2004-09-15 13:56:05 UTC
This is in CVS, should reach rsync in two hours.
Thanks for your patch Mark.