Package: tellico Severity: normal Tags: patch When building 'tellico' on amd64 with gcc-4.0, I get the following error:
document.cpp: In member function 'bool Tellico::Data::Document::saveDocument(const KURL&)': document.cpp:132: error: incomplete type 'Tellico::Data::FileHandler' used in nested name specifier filehandler.cpp: In static member function 'static Tellico::Data::Image* Tellico::FileHandler::readImageFile(const KURL&, bool)': image.cpp:27: error: 'Tellico::Data::Image::Image(const QString&)' is private filehandler.cpp:126: error: within this context imagefactory.cpp: In static member function 'static const Tellico::Data::Image& Tellico::ImageFactory::addImage(const QImage&, const QString&)': image.cpp:36: error: 'Tellico::Data::Image::Image(const QImage&, const QString&)' is private imagefactory.cpp:49: error: within this context imagefactory.cpp: In static member function 'static const Tellico::Data::Image& Tellico::ImageFactory::addImage(const QByteArray&, const QString&, const QString&)': image.cpp:43: error: 'Tellico::Data::Image::Image(const QByteArray&, const QString&, const QString&)' is private imagefactory.cpp:71: error: within this context make[4]: *** [tellico.all_cpp.o] Error 1 make[4]: Leaving directory `/tellico-0.13.1/src' With the attached patch 'tellico' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/tellico-0.13.1/src/document.cpp ./src/document.cpp --- ../tmp-orig/tellico-0.13.1/src/document.cpp 2004-11-25 17:51:05.000000000 +0100 +++ ./src/document.cpp 2005-01-14 10:33:05.204602973 +0100 @@ -129,7 +129,7 @@ Export::TellicoZipExporter exporter(m_coll); exporter.setEntryList(m_coll->entryList()); QByteArray data = exporter.data(false); - bool success = FileHandler::writeDataURL(url_, data); + bool success = Tellico::FileHandler::writeDataURL(url_, data); #ifndef NDEBUG if(!success) { diff -urN ../tmp-orig/tellico-0.13.1/src/image.h ./src/image.h --- ../tmp-orig/tellico-0.13.1/src/image.h 2004-10-30 02:02:27.000000000 +0200 +++ ./src/image.h 2005-01-14 10:39:21.043011102 +0100 @@ -42,11 +42,11 @@ static QCString outputFormat(const QCString& inputFormat); -private: Image(const QString& filename); Image(const QImage& image, const QString& format); Image(const QByteArray& data, const QString& format, const QString& id); +private: QString m_id; QCString m_format; }; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

