Bug 361033 - Build fails on Slackware Linux
Summary: Build fails on Slackware Linux
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-27 09:05 UTC by Markus
Modified: 2019-08-19 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2016-03-27 09:05:55 UTC
Using GCC 5.3.0 and cmake 3.5.1 build fails with this error:

[ 81%] Building CXX object utilities/queuemanager/CMakeFiles/queuemanager_src.dir/manager/batchtoolsmanager.cpp.o
In file included from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:0:
/tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:86:12: error: conflicting return type specified for 'virtual void Digikam::KipiInterface::preview(const QUrl&, int)'
     void   preview(const QUrl& url, int resizedTo);
            ^
In file included from /usr/include/KF5/KIPI/KIPI/Interface:1:0,
                 from /tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:41,
                 from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:
/usr/include/KF5/KIPI/kipi/interface.h:357:20: error:   overriding 'virtual QImage KIPI::Interface::preview(const QUrl&, int)'
     virtual QImage preview(const QUrl& url, int minSize);
                    ^
/usr/include/KF5/KIPI/kipi/interface.h:378:18: warning: 'virtual void KIPI::Interface::preview(const QUrl&, int, int)' was hidden [-Woverloaded-virtual]
     virtual void preview(const QUrl& url, int minSize, int resizedTo=-1);
                  ^
In file included from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:0:
/tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:86:12: warning:   by 'Digikam::KipiInterface::preview' [-Woverloaded-virtual]
     void   preview(const QUrl& url, int resizedTo);
            ^
utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/build.make:86: recipe for target 'utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/kipiimagecollectionselector.cpp.o' failed
make[2]: *** [utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/kipiimagecollectionselector.cpp.o] Error 1
CMakeFiles/Makefile2:7465: recipe for target 'utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/all' failed
make[1]: *** [utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 caulier.gilles 2016-03-27 09:58:13 UTC

*** This bug has been marked as a duplicate of bug 360473 ***
Comment 2 caulier.gilles 2019-08-19 07:40:18 UTC
Fixed with bug #360473