[tex-live] lcdf-typetools breakage - another error

Vladimir Volovich vvv at vsu.ru
Sat Sep 18 02:09:59 CEST 2004


"EK" == Eddie Kohler writes:

 EK> Taco, does lcdf-typetools fail to compile, or do you just get
 EK> warnings? The warnings may be safely ignored.

here's another compilation error i'm getting:

xlC -DHAVE_CONFIG_H -I. -I../../../../../TeX/utils/lcdf-typetools/libefont -I.. -I../../../../../TeX/utils/lcdf-typetools/include  -I../../../texk -I../../../../../TeX/utils/lcdf-typetools/libefont/../../../texk  -O2 -qmaxmem=32768 -qarch=com -qlanglvl=extended -qcpluscmt -c -o afmparse.o ../../../../../TeX/utils/lcdf-typetools/libefont/afmparse.cc
"../../../../../TeX/utils/lcdf-typetools/libefont/afmparse.cc", line 305.22: 1540-0274 (S) The name lookup for "permprintf" did not find a declaration.
"../../../../../TeX/utils/lcdf-typetools/include/lcdf/permstr.hh", line 37.23: 1540-1298 (I) "PermString permprintf(const char *, ...)" needs to be declared in the containing scope to be found by name lookup.

As for the previously reported error: it occurs because of this block
in TeX/utils/lcdf-typetools/include/lcdf/vector.hh:

# include <new>
#elif defined(HAVE_NEW_H)
# include <new.h>
static inline void *operator new(size_t, void *v) { return v; }

Commenting out the line "static inline void ..." fixes the problem,
BUT also I note that both these headers do exist (and autocong
correctly sets the HAVE_NEW_HDR and HAVE_NEW_H to 1 in config.h),
and the bug occurs because vector.cc fails to include config.h,
but nevertheless tests these macros.


More information about the tex-live mailing list