AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

1993.09.30 13:22 "bug in v3.3b002 ?", by Dietrich Bartel

When compiling TIFF v3.3beta002 on DEC ALPHA the following warnings/errors occur:

...
cc -O -I.  -c tif_unix.c
/usr/lib/cmplrs/cc/cfe: Warning: tif_unix.c, line 121: Incompatible pointer type
 assignment
            _tiffSeekProc, _tiffCloseProc, _tiffSizeProc,
        ----^
cc -O -I.  -c tif_version.c
cc -O -I.  -c tif_warning.c
cc -O -I.  -c tif_write.c
/usr/lib/cmplrs/cc/cfe: Error: tif_write.c, line 564: redeclaration of 'TIFFSetW
riteOffset'; previous declaration at line 182 in file './tiffio.h'
 TIFFSetWriteOffset(TIFF* tif, off_t off)
 ^
/usr/lib/cmplrs/cc/cfe: Error: tif_write.c, line 564: Incompatible type for the
function parameter
 TIFFSetWriteOffset(TIFF* tif, off_t off)
 ------------------------------------^
*** Exit 1
Stop.

May it be that line 564 in tif_write.c should be:

 TIFFSetWriteOffset(TIFF* tif, toff_t off)
-------------------------------^                ?

Regards

Dietrich Bartel                             Email: d.bartel@kfa-juelich.de
Central Institute of Applied Mathematics    Phone: (+49)-(0)2461-61-6423
Research Centre Juelich (KFA), Germany      Fax:   (+49)-(0)2461-61-6656