Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 214272

Summary: app-cdr/k9copy-1.2.3 fails w/gcc 4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-porting
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: k9copy-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-03-22 16:06:58 UTC
k9avidecode.cpp: In member function 'bool k9AviDecode::open(const QString&)':
k9avidecode.cpp:100: warning: comparison between signed and unsigned integer expressions
k9avidecode.cpp: In member function 'void k9AviDecode::seek(double)':
k9avidecode.cpp:160: warning: unused variable 'i'
k9avidecode.cpp:161: warning: unused variable 'pos'
k9avidecode.cpp: In member function 'void k9AviDecode::readFrame(double)':
k9avidecode.cpp:168: warning: unused variable 'res'
k9avidecode.cpp: In member function 'void k9AviDecode::SaveFrame(AVFrame*, int, int)':
k9avidecode.cpp:210: error: 'malloc' was not declared in this scope
k9avidecode.cpp:214: error: 'free' was not declared in this scope
make[2]: *** [k9avidecode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../libk9copy/k9progress.h:20,
                 from ../k9author/k9newdvd.h:22,
                 from k9import.h:21,
                 from k9importfiles.cpp:14:
/usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
make[2]: Leaving directory `/var/tmp/portage/app-cdr/k9copy-1.2.3/work/k9copy-1.2.3/k9author'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-cdr/k9copy-1.2.3/work/k9copy-1.2.3'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-03-22 16:09:06 UTC
Created attachment 146912 [details, diff]
k9copy-gcc43.patch

Fixes the problem.
Adapted from Momonga Linux' patch for 1.2.2:
http://developer.momonga-linux.org/viewvc/trunk/pkgs/k9copy/k9copy-1.2.2-gcc43.patch?view=log&pathrev=20633
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2008-03-28 20:45:14 UTC
Thanks, Peter! Fixed in CVS.