On Wed, Oct 10, 2001 at 02:15:50PM -0400, Glenn Maynard wrote:
> Asked someone in debian/potato to try this out; the static initializer
> test failed.
>
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
> gcc version 2.95.2 20000220 (Debian GNU/Linux)
This usually means that gcc was incorrecly compiled itself. The feature is
int f() { return 1; }
static int a=f();
It is very old supported thing. It fails when gcc was incorrecly compiled.
> What kind of a cap is this putting on C++ compatibility? That is, how
> new does a person's compiler have to be to compile lftp? (Is this
> commonly supported in older, non-GCC compilers?)
I think lftp can still be compiled with gcc 2.7.2, but have not tried that
for quite some time. Some people successfully compile lftp with non-gcc
compilers from Solaris, SGI, UnixWare.
--
Alexander.