AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

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

2005.08.10 19:58 "Re: 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