1994.11.18 13:16 "beta021 compiler warnings on Amiga SAS/C 6.50", by Harald Fricke

1994.11.18 17:12 "Re: beta021 compiler warnings on Amiga SAS/C 6.50", by Sam Leffler

I am trying to convert the TIFF library to late Commodore-Amiga's native operating system. Here is a list of things the SAS/C 6.50 compiler was unhappy about. I admit that these are mostly cosmetic changes, but I would appreciate if I could just compile the sources without any warnings.

Thank you for the comments. I'll try to look at them soon. In general it is most effective to mail me context-style diffs for changes; this way there is no ambiguity in understanding what modifications are intended for your system (remember I only have SGI machines).

FYI (though not for you specifically as you provided excellent details on the problems and fixes), postings of warnings messages from compilers without associated patches are ignored.

I have noticed a lot of elaborate code in tif_atari.c handling lseeks past the current end-of-file. I'd like to know under what circumstances libtiff extends a file in this way because the Amiga I/O system does not allow this either. Are the library routines prepared to handle an error return from _tiffSeekProc() in this case? I remember the F2C run-time library failing at this point :).

I didn't write the atari code; it was contributed by alex@falcon.demon.co.uk (Alex Kiernan). I don't believe the library will seek past EOF; it should do explicit writes if it wants to extend an existing file.

    Sam