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
December 1994

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!



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