I am trying to build lftp-4.7.1 on HP-UX 11.31/IA with the HP C++ compiler. The build errors out with: aCC -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I/opt/TWWfsw/gettext018/include -I/opt/TWWfsw/libexpat20/include -I/opt/TWWfsw/libiconv113/include -I/opt/TWWfsw/libz12/include -I/opt/TWWfsw/ncurses57/include -I/opt/TWWfsw/libreadline62/include -DHPUX_SIGNBIT_DECL_BUG -D_HPUX_SOURCE -z +O2 +Ofltacc +Olit=all +Odataprefetch +Onolimit -c Torrent.cc -o Torrent.o "SMTask.h", line 161: error #2167: argument of type "TrackerBackend *" is incompatible with parameter of type "SMTask *" ~SMTaskRef<T>() { SMTask::_DeleteRef(ptr); ptr=0; } ^ detected during instantiation of "SMTaskRef<T>::~SMTaskRef() [with T=TrackerBackend]" at line 63 of "TorrentTracker.h"
1 error detected in the compilation of "Torrent.cc". gmake[2]: *** [Torrent.lo] Error 1 gmake[2]: Leaving directory `/opt/build/lftp-4.7.1/src' I don't know C++ well enough but is there any patch that can be applied to make Torrent.cc pass this C++ compiler? -- albert chin (ch...@thewrittenword.com) _______________________________________________ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel