Tried building 4.4.10 on HP-UX/PA with the HP C++ compiler and received the following error: aCC -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I/opt/TWWfsw/libgnutls212/include -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 -D_HPUX_SOURCE -AA -z +O2 +Ofltacc +Olit=all +DAportable +Oentrysched +Odataprefetch +Onolimit -c TorrentTracker.cc -o TorrentTracker.o Error 216: "TorrentTracker.h", line 172 # Integer constant expected in enumerator initialization. connect_magic=0x41727101980ULL, ^^^^^^^^^^^^^^^^ Warning 921: "TorrentTracker.h", line 172 # A trailing comma is not allowed in an enumeration. connect_magic=0x41727101980ULL, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 222: "TorrentTracker.h", line 171 # Enumerator constant is out of range. enum magic_t { ^^^^^^^^^^^^ gmake[2]: *** [TorrentTracker.lo] Error 1 gmake[2]: Leaving directory `/opt/build/lftp-4.4.10/src'
The underlying type of an enum declared with enum class is int unless a different type is specified on declaration. http://www.cplusplus.com/reference/type_traits/underlying_type/ -- albert chin (ch...@thewrittenword.com) _______________________________________________ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel