kmail doesn't compile from trunk on Slackware GNU/Linux

Jarosław Staniek js at iidea.pl
Thu Jan 24 11:15:46 GMT 2008


Giovanni Venturi said the following, On 2008-01-24 11:52:
> [ 33%] Building CXX object 
> kmail/CMakeFiles/kmailprivate.dir/kmailprivate_automoc.o
> [ 33%] Building CXX object kmail/CMakeFiles/kmailprivate.dir/kmfoldertree.o
> /opt/kde4-dev/include/kcompositejob.h:106: warning: 'virtual void 
> KCompositeJob::slotInfoMessage(KJob*, const QString&, const QString&)' was 
> hidden
> /home/devel/kde4-sources/trunk/kdepim/kmail/quotajobs.h:163: warning:   
> by 'void KMail::QuotaJobs::GetQuotarootJob::slotInfoMessage(KJob*, const 
> QString&)'
> [ 33%] Building CXX object kmail/CMakeFiles/kmailprivate.dir/kmheaders.o
> /home/devel/kde4-sources/trunk/kdepim/kmail/kmheaders.cpp: In function 'void 
> internalWriteItem(FILE*, KMFolder*, int, int, const QString&, bool)':
> /home/devel/kde4-sources/trunk/kdepim/kmail/kmheaders.cpp:2715: 
> error: '::fseek64' has not been declared
> /home/devel/kde4-sources/trunk/kdepim/kmail/kmheaders.cpp:2718: 
> error: '::fseek64' has not been declared
[..]

this is apaprently kdelibs problem (kdecore/util/kde_file.h)

Just thinking, in kdelibs/CMakeLists.txt we have

add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES) # for off_t

Shouldn't we switch to fseeko() and ftello() from f*64()?

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/




More information about the kde-core-devel mailing list