[tex-live] more errors in lcdf-typetools

Vladimir Volovich vvv at vsu.ru
Sat Sep 18 02:45:17 CEST 2004


================================
Re the error:
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.

I fixed this by adding the following line to
TeX/utils/lcdf-typetools/libefont/afmparse.cc
TeX/utils/lcdf-typetools/libefont/cff.cc
TeX/utils/lcdf-typetools/libefont/t1font.cc:

extern PermString permprintf(const char *, ...);
================================

Another set of errors popped up:

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 otf.o ../../../../../TeX/utils/lcdf-typetools/libefont/otf.cc
"../../../../../TeX/utils/lcdf-typetools/include/efont/otf.hh", line 139.18: 1540-0063 (S) The text "StringAccum" is unexpected.
"../../../../../TeX/utils/lcdf-typetools/include/efont/otf.hh", line 234.18: 1540-0063 (S) The text "StringAccum" is unexpected.

I fixed these by moving or adding "#include <lcdf/straccum.hh>" as a
first header included after config.h in:

TeX/utils/lcdf-typetools/libefont/otf.cc
TeX/utils/lcdf-typetools/libefont/otfcmap.cc
TeX/utils/lcdf-typetools/libefont/otfdescrip.cc
TeX/utils/lcdf-typetools/libefont/otfgpos.cc
TeX/utils/lcdf-typetools/libefont/otfgsub.cc
TeX/utils/lcdf-typetools/libefont/otfname.cc

(yes, in some cases lcdf/straccum.hh wasn't included at all, yet
StringAccum was used).

There are other errors in lcdf-typetools to follow... :-(
This package has always been creating compilation problems :-(

Best,
v.




More information about the tex-live mailing list