https://bugs.kde.org/show_bug.cgi?id=419702

bluescreenaven...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REPORTED

--- Comment #2 from bluescreenaven...@gmail.com ---
That seems to get it a bit further, but now I get

kio-extras: [ 90%] Built target kded_networkwatcher
kio-extras: [ 90%] Building CXX object
smb/CMakeFiles/kio_smb_static.dir/transfer.cpp.o
kio-extras: /srcbuild/kio-extras/smb/transfer.cpp: In static member function
‘static off_t TransferSegment::segmentSizeForFileSize(off_t)’:
kio-extras: /srcbuild/kio-extras/smb/transfer.cpp:38:72: error: no matching
function for call to ‘qMin(long long int, const long int&)’
kio-extras:      const off_t idealSegmentSize = qMin(fileSize / 50,
c_maxSegmentSize);
kio-extras:                                                                    
    ^
kio-extras: In file included from /opt/include/QtCore/QtGlobal:1,
kio-extras:                  from /srcbuild/kio-extras/smb/transfer.h:9,
kio-extras:                  from /srcbuild/kio-extras/smb/transfer.cpp:6:
kio-extras: /opt/include/QtCore/qglobal.h:661:27: note: candidate:
‘template<class T> constexpr const T& qMin(const T&, const T&)’
kio-extras:  constexpr inline const T &qMin(const T &a, const T &b) { return (a
< b) ? a : b; }
kio-extras:                            ^~~~
kio-extras: /opt/include/QtCore/qglobal.h:661:27: note:   template argument
deduction/substitution failed:
kio-extras: /srcbuild/kio-extras/smb/transfer.cpp:38:72: note:   deduced
conflicting types for parameter ‘const T’ (‘long long int’ and ‘long int’)
kio-extras:      const off_t idealSegmentSize = qMin(fileSize / 50,
c_maxSegmentSize);
kio-extras:                                                                    
    ^
kio-extras: /srcbuild/kio-extras/smb/transfer.cpp: In member function ‘void
TransferRingBuffer::unpop()’:
kio-extras: /srcbuild/kio-extras/smb/transfer.cpp:75:10: warning: operation on
‘((TransferRingBuffer*)this)->TransferRingBuffer::tail’ may be undefined
[-Wsequence-point]
kio-extras:      tail = ++tail % m_capacity;
kio-extras:      ~~~~~^~~~~~~~~~~~~~~~~~~~~
kio-extras: make[2]: *** [smb/CMakeFiles/kio_smb_static.dir/build.make:236:
smb/CMakeFiles/kio_smb_static.dir/transfer.cpp.o] Error 1
kio-extras: make[1]: *** [CMakeFiles/Makefile2:3520:
smb/CMakeFiles/kio_smb_static.dir/all] Error 2
kio-extras: make: *** [Makefile:158: all] Error 2
kio-extras: PackageInstallSource finished in 1 seconds with result 2
kio-extras:  PackagePostInstall finished in 0 seconds

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to