AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.08.09 20:08 "[Tiff] Compile error on AIX 5.1", by Philip Watkinson
2005.08.10 19:58 "Re: [Tiff] Compile error on AIX 5.1", by Andrey Kiselev
2005.08.17 19:07 "RE: [Tiff] Compile error on AIX 5.1", by Philip Watkinson
2005.08.17 20:06 "RE: [Tiff] Compile error on AIX 5.1", by Bob Friesenhahn
2005.08.18 21:06 "Re: [Tiff] Compile error on AIX 5.1", by Andrey Kiselev
2005.08.18 21:37 "Re: [Tiff] Compile error on AIX 5.1", by Bob Friesenhahn
2005.08.18 22:59 "Re: [Tiff] Compile error on AIX 5.1", by Bob Friesenhahn

2005.08.10 19:58 "Re: [Tiff] Compile error on AIX 5.1", by Andrey Kiselev

On Tue, Aug 09, 2005 at 04:08:16PM -0400, Philip Watkinson wrote:

Compiling libtiff (3.7.1) on AIX 5.1. Getting the following compile error with tif_print.c:

"tif_print.c", line 273.54: 1506-068 (S) Operation between types "char*" and "int" is not allowed. end of compiling process

Line 273 of tif_print.c is as follows:

for (cp = td->td_inknames; i > 0; cp = strchr(cp,'\0')+1, i--) {

Has anyone experienced this problem?

Philip,

Try to replace this line with the

for (cp = td->td_inknames; i > 0; cp = strchr(cp, 0) + 1, i--) {

Please, report, if this helps.

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517