https://bugs.kde.org/show_bug.cgi?id=498519
Bug ID: 498519 Summary: Build failled with mlpipelinemacros.h:53:68: error Classification: Applications Product: digikam Version: 8.6.0 Platform: Mint (Ubuntu based) OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: digikam-bugs-n...@kde.org Reporter: kikouca...@gmail.com Target Milestone: --- Build from git download on 2025/01/11 failled with error : "digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:269:13: note: in expansion of macro ‘MLPIPELINE_LOOP_START’ 269 | MLPIPELINE_LOOP_START(MLPipelineStage::Loader, thisQueue); | ^~~~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/mlfoundation/mlpipelinemacros.h:53:68: error: no matching function for call to ‘qMax(int&, qint64)’ 53 | performanceProfileList[thisStage].maxElapsedTime = qMax(performanceProfileList[thisStage].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:317:13: note: in expansion of macro ‘MLPIPELINE_LOOP_END’ 317 | MLPIPELINE_LOOP_END(MLPipelineStage::Loader); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/autotagspipelinebase.h:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: candidate: ‘template<class T> constexpr const T& qMax(const T&, const T&)’ 673 | constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } | ^~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/mlfoundation/mlpipelinemacros.h:53:68: note: deduced conflicting types for parameter ‘const T’ (‘int’ and ‘qint64’ {aka ‘long long int’}) 53 | performanceProfileList[thisStage].maxElapsedTime = qMax(performanceProfileList[thisStage].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:317:13: note: in expansion of macro ‘MLPIPELINE_LOOP_END’ 317 | MLPIPELINE_LOOP_END(MLPipelineStage::Loader); | ^~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp: In member function ‘virtual bool Digikam::AutotagsPipelineObject::extractor()’: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:438:85: error: no matching function for call to ‘qMax(int&, qint64)’ 438 | performanceProfileList[MLPipelineStage::Extractor].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Extractor].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: candidate: ‘template<class T> constexpr const T& qMax(const T&, const T&)’ 673 | constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } | ^~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:438:85: note: deduced conflicting types for parameter ‘const T’ (‘int’ and ‘qint64’ {aka ‘long long int’}) 438 | performanceProfileList[MLPipelineStage::Extractor].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Extractor].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp: In member function ‘virtual bool Digikam::AutotagsPipelineObject::classifier()’: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:518:86: error: no matching function for call to ‘qMax(int&, qint64)’ 518 | performanceProfileList[MLPipelineStage::Classifier].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Classifier].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: candidate: ‘template<class T> constexpr const T& qMax(const T&, const T&)’ 673 | constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } | ^~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:518:86: note: deduced conflicting types for parameter ‘const T’ (‘int’ and ‘qint64’ {aka ‘long long int’}) 518 | performanceProfileList[MLPipelineStage::Classifier].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Classifier].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp: In member function ‘virtual bool Digikam::AutotagsPipelineObject::writer()’: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:688:82: error: no matching function for call to ‘qMax(int&, qint64)’ 688 | performanceProfileList[MLPipelineStage::Writer].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Writer].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: candidate: ‘template<class T> constexpr const T& qMax(const T&, const T&)’ 673 | constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } | ^~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:673:27: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-01-11/digikam/core/libs/tags/autoassignment/pipelines/object/autotagspipelineobject.cpp:688:82: note: deduced conflicting types for parameter ‘const T’ (‘int’ and ‘qint64’ {aka ‘long long int’}) 688 | performanceProfileList[MLPipelineStage::Writer].maxElapsedTime = qMax(performanceProfileList[MLPipelineStage::Writer].maxElapsedTime, timer.elapsed()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [core/libs/tags/CMakeFiles/gui_digikamautotagassignment_obj.dir/build.make:152 : core/libs/tags/CMakeFiles/gui_digikamautotagassignment_obj.dir/autoassignment/pipelines/object/autotagspipelineobject.cpp.o] Erreur 1 make[1]: *** [CMakeFiles/Makefile2:11891 : core/libs/tags/CMakeFiles/gui_digikamautotagassignment_obj.dir/all] Erreur 2 make: *** [Makefile:146 : all] Erreur 2 " -Ordinateur- Processeur : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz Mémoire : 32813MB (6981MB utilisé) Machine Type : Tower Systeme d'exploitation : Linux Mint 22 Environnement de développement de KDE Version 5.115.0 Qt Version 5.15.13 (Compilé avec 5.15.13) ADDITIONAL INFORMATION Date de compilation : 10/01/2025 18:33 Cible de compilation : Debug Architecture de compilation : x86_64 Révision sous Git : 032...81f3 Branche sous Git : master Was building nicely -- You are receiving this mail because: You are watching all bug changes.