On Friday 14 January 2005 1:55, you wrote:
> When building 'tellico' on amd64 with gcc-4.0,
> I get the following error:
...
> With the attached patch 'tellico' can be compiled
> on amd64 using gcc-4.0.

> 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);

Is this change enough to fix the compilation?

> 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);

I'd like to keep these private, just to keep me from bad mistakes in the 
future. The Image class declares FileHandler as a friend, so I'm confused 
about why it can't call a private constructor. My c++ skills are lacking 
here.

Regis, do you have any help?

Thanks for the report, Andreas.

Robby


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to