Bug 359897 - Compilation failure - conflicting return type decodeRawImage()
Summary: Compilation failure - conflicting return type decodeRawImage()
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 5.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-28 19:01 UTC by DrSlony
Modified: 2017-08-19 20:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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