AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

1994.12.08 01:42 "3.3beta make with Makefile.sgi bombs on IRIX 4.0.5f", by Glenn P. Davis

accom: Error: tif_fax3.c, line 1071: Left pointer in assignment must have all qualifiers of right and pointed to types must be compatible (or void) (ANSI 3.3.16.1)
                bp = (char*) lp;
       ------------------------^
accom: Error: tif_fax3.c, line 1071: Illegal pointer combination:   pointer to unsigned char  versus   pointer to char
                bp = (char*) lp;
       ------------------------^

accom: Error: tif_fax3.c, line 1130: Left pointer in assignment must have all qualifiers of right and pointed to types must be compatible (or void) (ANSI 3.3.16.1)
                bp = (char*) lp;
       ------------------------^
accom: Error: tif_fax3.c, line 1130: Illegal pointer combination:   pointer to unsigned char  versus   pointer to char
                bp = (char*) lp;
       ------------------------^

These probably due to the -ansi compiler flag in the Makefile.

Here's a fix:

1071c1071
<               bp = (u_char*) lp;
---
>               bp = (char*) lp;
1130c1130
<               bp = (u_char*) lp;
---
>               bp = (char*) lp;

Glenn P. Davis                davis@unidata.ucar.edu
UCAR / Unidata
PO Box 3000                   3300 Mitchell Lane, Suite 170
Boulder, CO 80307-3000        Boulder, CO  80301

(303) 497 8643