home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0026.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1.2 KB  |  36 lines

  1.  
  2. 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)
  3.                bp = (char*) lp;
  4.        ------------------------^
  5. accom: Error: tif_fax3.c, line 1071: Illegal pointer combination:   pointer to unsigned char  versus   pointer to char
  6.                bp = (char*) lp;
  7.        ------------------------^
  8.  
  9. 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)
  10.                bp = (char*) lp;
  11.        ------------------------^
  12. accom: Error: tif_fax3.c, line 1130: Illegal pointer combination:   pointer to unsigned char  versus   pointer to char
  13.                bp = (char*) lp;
  14.        ------------------------^
  15.  
  16. These probably due to the -ansi compiler flag in the Makefile.
  17.  
  18. Here's a fix:
  19.  
  20. 1071c1071
  21. <         bp = (u_char*) lp;
  22. ---
  23. >         bp = (char*) lp;
  24. 1130c1130
  25. <         bp = (u_char*) lp;
  26. ---
  27. >         bp = (char*) lp;
  28.  
  29. Glenn P. Davis                davis@unidata.ucar.edu
  30. UCAR / Unidata
  31. PO Box 3000                   3300 Mitchell Lane, Suite 170
  32. Boulder, CO 80307-3000        Boulder, CO  80301
  33.  
  34. (303) 497 8643
  35.  
  36.