Tried building 4.4.10 on HP-UX/IA with the HP C++ compiler and
received the following error:
 aCC -DHAVE_CONFIG_H -I. -I.. -D_HPUX_SOURCE -z +O2 +Ofltacc +Olit=all 
+Oentrysched +Odataprefetch +Onolimit -c Torrent.cc -o Torrent.o
"Ref.h", line 34: warning #2414-D: delete of pointer to incomplete class
     ~Ref<T>() { delete ptr; }
                        ^
          detected during:
            instantiation of "Ref<T>::~Ref() [with T=TrackerBackend]" at line
                      135 of "SMTask.h"
            instantiation of
                      "SMTaskRef<T>::~SMTaskRef() [with T=TrackerBackend]" at
                      line 61 of "TorrentTracker.h"

"SMTask.h", line 135: error #2167: argument of type "TrackerBackend *" is
          incompatible with parameter of type "SMTask *"
     ~SMTaskRef<T>() { SMTask::_DeleteRef(this->ptr); this->ptr=0; }
                                          ^
          detected during instantiation of
                    "SMTaskRef<T>::~SMTaskRef() [with T=TrackerBackend]" at
                    line 61 of "TorrentTracker.h"

1 error detected in the compilation of "Torrent.cc".
gmake[2]: *** [Torrent.lo] Error 1

Any idea on a solution?

-- 
albert chin (ch...@thewrittenword.com)
_______________________________________________
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Reply via email to