Same error when using patch:
-} diff SMTask.h  SMTask.h.0
96,97c96,97
<    template<typename T> static void DeleteRef(T *&task) { _DeleteRef(task); task=0; }
<    template<typename T> static T *MakeRef(T *task) { _MakeRef(task); return task; }
---
>    template<class T> static void DeleteRef(T *&task) { _DeleteRef(task); task=0; }
>    template<class T> static T *MakeRef(T *task) { _MakeRef(task); return task; }

Is this a problem with the Solaris compiler?  Maybe there is some compiler setting that needs to be set?  I am assuming that this works for other compilers.

Adam Ringel
Selling System Application Support
703-903-3892 (w)
703-701-3685 (p)



   "Alexander V. Lukyanov" <[EMAIL PROTECTED]>

   04/26/2006 03:19 AM

To
"Adam Ringel" <[EMAIL PROTECTED]>
cc
[email protected]
Subject
Re: Compile fails for lftp 3.4.4 on Solaris 8 using CC





On Wed, Apr 26, 2006 at 01:01:11AM -0400, Adam Ringel wrote:
> "FileCopy.cc", line 408: Error: Could not find a match for
> SMTask::MakeRef<SMTask::T>(Speedometer*).

Does this patch help?

If not, I'll make macros instead of templates.

--
  Alexander.

Attachment: diff
Description: Binary data

Reply via email to