[tlbuild] lcdf-typetools-2.85 doesn't compile with gcc-3.4.2 on old FreeBSD-5

Nikola Lečić nikola.lecic at anthesphoria.net
Mon Feb 7 12:16:33 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi again,

New lcdf-typetools source fails to compile with gcc-3.4.2 (from the
base of an old FreeBSD-5). I don't know how complicated it is to
correct this and if it's worth trying at all because this is an
"extended" FreeBSD support and affects only a tiny minority of users. I
mean, --without-lcdf-typetools would be perfectly acceptable here.

Still, on FreeBSD-5.5/amd64, gcc 3.4.2:

gmake[5]: Entering directory `/root/TL-Work-21274/texk/lcdf-typetools/liblcdf'
g++ -Wimplicit -Wreturn-type -Wno-unknown-pragmas -DHAVE_CONFIG_H -I. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf -I.. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include    -g -O2 -MT bezier.o -MD -MP -MF .deps/bezier.Tpo -c -o bezier.o /root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf/bezier.cc
mv -f .deps/bezier.Tpo .deps/bezier.Po
gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -DHAVE_CONFIG_H -I. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf -I.. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include    -g -O2 -MT clp.o -MD -MP -MF .deps/clp.Tpo -c -o clp.o /root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf/clp.c
mv -f .deps/clp.Tpo .deps/clp.Po
g++ -Wimplicit -Wreturn-type -Wno-unknown-pragmas -DHAVE_CONFIG_H -I. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf -I.. -I/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include    -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o /root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf/error.cc
In file included from /root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include/lcdf/error.hh:4,
                 from /root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/liblcdf/error.cc:24:
/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include/lcdf/string.hh:607: error: a casts to a type other than an integral or enumeration type cannot appear in a constant-expression
/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include/lcdf/string.hh:607: error: '->' cannot appear in a constant-expression
/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include/lcdf/string.hh:607: error: `&' cannot appear in a constant-expression
/root/TeXLive-Devel/trunk/Build/source/texk/lcdf-typetools/include/lcdf/string.hh:608: error: enumerator value for `MEMO_SPACE' not integer constant
gmake[5]: *** [error.o] Error 1
gmake[5]: Leaving directory `/root/TL-Work-21274/texk/lcdf-typetools/liblcdf'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/root/TL-Work-21274/texk/lcdf-typetools'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/root/TL-Work-21274/texk/lcdf-typetools'
gmake[2]: *** [subtexk] Error 1
gmake[2]: Leaving directory `/root/TL-Work-21274/texk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/TL-Work-21274/texk'
gmake: *** [all-recursive] Error 1

Regards,
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iJwEAQEDAAYFAk1P1JoACgkQ/MM/0rYIoZhWZgQAzG0BOC00qzZuZl5wb1Jz0tLL
qOYXvkWcnjcWj1NUot5+Gb0UwddrdkQu7bSxODvUF9woEqyQvXHq3lumg497vcGU
HIgi8v2gTY50atfCz1hiZ4PXIcI2zCtR/P1dh2zKIRqiBg9+2nOoo8OwQuC+iBLd
Y+IKR/aRH18wmDvCCls=
=Ldr2
-----END PGP SIGNATURE-----



More information about the tlbuild mailing list