Whereas I've been able to compile lftp with Sun's Forte 6 I have
trouble to do the same with Sun Studio 9 compilers after an upgrade.
Seems that the C++ compiler has become more squeamish.

With lftp 3.0.13 and a
CC=cc CFLAGS=-O CXX=CC CXXFLAGS=-O LDFLAGS=-s \
  ./configure --prefix=/export --disable-nls \
   --without-ssl --enable-shared=no

I get the following compiler error:

"LsCache.cc", line 246: Error: Overloading ambiguity between
"TimeDate::operator const std::tm*()" and "Time::operator long()".
"LsCache.cc", line 246: Error: Cannot subtract a pointer type from an
integral type.

Uwe

Reply via email to