[tex-live] lcdf-typetools breakage - another error
Eddie Kohler
kohler at cs.ucla.edu
Sat Sep 18 02:16:20 CEST 2004
Hi Vladimir;
> 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.
If you add the following lines to include/lcdf/permstr.hh, just above the
#endif, is the problem solved?
PermString permprintf(const char *, ...);
PermString vpermprintf(const char *, va_list);
PermString permcat(PermString, PermString);
PermString permcat(PermString, PermString, PermString);
> As for the previously reported error: it occurs because of this block
> in TeX/utils/lcdf-typetools/include/lcdf/vector.hh:
>
> #ifdef HAVE_NEW_HDR
> # include <new>
> #elif defined(HAVE_NEW_H)
> # include <new.h>
> #else
> static inline void *operator new(size_t, void *v) { return v; }
> #endif
>
> 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.
Ah yes -- vectorv.cc should begin with #include <config.h>.
With those problems solved, do you get further on?
Thanks!
Eddie
>
> Best,
> v.
>
More information about the tex-live
mailing list