Bug 359897

Summary: Compilation failure - conflicting return type decodeRawImage()
Product: [Applications] digikam Reporter: DrSlony <bugs>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, caulier.gilles, demm, freisim93
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0

Description DrSlony 2016-02-28 19:01:36 UTC
Hello

I tried to compile git head of digikam 
=media-gfx/digikam-9999
and it failed with:

utilities/kdesupport/kipi/kipiinterface.cpp:584:10: error: conflicting return type specified for ‘virtual uint Digikam::KipiInterfaceRawProcessor::decodeRawImage(const QUrl&, QByteArray&, int&, int&, int&)’
     uint decodeRawImage(const QUrl& url, QByteArray& imageData, int& width, int& height, int& rgbmax)
          ^

Installing the git version of libkipi solved it
=kde-apps/libkipi-9999

This report is to let the person in charge of the Gentoo digikam-9999 ebuild know of the dependency version requirement.

I confirm that compilation fails when using libkipi 15.12.1 and works with 9999, I haven't tested 15.12.2 or 15.12.49.9999.

Reproducible: Always
Comment 1 caulier.gilles 2016-03-02 05:55:09 UTC
Git commit be7e29655eb5e951aa07854255d4742f0beb40bc by Gilles Caulier.
Committed on 02/03/2016 at 04:54.
Pushed by cgilles into branch 'master'.

Remove unused method since panorama and expoblending tools are moved to DK core

M  +1    -10   src/interface.h
M  +0    -20   tests/common/kipiinterface.cpp

http://commits.kde.org/libkipi/be7e29655eb5e951aa07854255d4742f0beb40bc
Comment 2 caulier.gilles 2016-03-02 05:55:56 UTC
Git commit 0cdafd38a0759c5751cf7b5c81417e6c427be372 by Gilles Caulier.
Committed on 02/03/2016 at 04:55.
Pushed by cgilles into branch 'master'.

Remove unused method since panorama and expoblending tools are moved to DK core
FIXED-IN: 5.0.0

M  +0    -17   utilities/kdesupport/kipi/kipiinterface.cpp

http://commits.kde.org/digikam/0cdafd38a0759c5751cf7b5c81417e6c427be372