AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2015.06.11 15:46 "[Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn
2015.06.11 16:43 "Re: [Tiff] Libtiff 4.0.4 release soon", by Lee Howard
2015.06.11 18:14 "Re: [Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn
2015.06.11 19:34 "Re: [Tiff] Libtiff 4.0.4 release soon", by Lee Howard
2015.06.11 19:44 "Re: [Tiff] Libtiff 4.0.4 release soon", by Frank Warmerdam
2015.06.13 06:10 "Re: [Tiff] Libtiff 4.0.4 release soon", by Lee Howard
2015.06.13 14:34 "Re: [Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn
2015.06.14 20:15 "Re: [Tiff] Libtiff 4.0.4 release soon", by Lee Howard
2015.06.14 23:43 "Re: [Tiff] Libtiff 4.0.4 release soon", by Lee Howard
2015.06.16 14:02 "Re: [Tiff] Libtiff 4.0.4 release soon", by Jeff McKenna
2015.06.16 14:30 "Re: [Tiff] Libtiff 4.0.4 release soon", by Jeff McKenna
2015.06.16 14:33 "Re: [Tiff] Libtiff 4.0.4 release soon", by Jeff McKenna
2015.06.16 15:42 "Re: [Tiff] Libtiff 4.0.4 release soon", by Even Rouault
2015.06.16 15:54 "Re: [Tiff] Libtiff 4.0.4 release soon", by Jeff McKenna
2015.06.16 16:01 "Re: [Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn
2015.06.25 17:12 "Re: [Tiff] Libtiff 4.0.4 release soon", by Edward Lam
2015.06.17 15:39 "Re: [Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn
2015.06.13 05:51 "Re: [Tiff] [PATCH] Fix multi-page fax scaling", by Lee Howard

2015.06.16 15:42 "Re: [Tiff] Libtiff 4.0.4 release soon", by Even Rouault

Le mardi 16 juin 2015 16:33:49, Jeff McKenna a écrit:

On 2015-06-16 11:30 AM, Jeff McKenna wrote:

On 2015-06-16 11:02 AM, Jeff McKenna wrote:

I did a checkout of CVS this morning, and it does not compile on MSVC 2008 (see errors below in "tif_unix.c"). No issues with tiff-4.0.4beta.zip however. -jeff

*****
tif_unix.c(119): error C2143: syntax error: missing ';' before 'type'
tif_unix.c(120): error C2065: 'sb': undeclared identifier
tif_unix.c(120): warning C4133: 'function': incompatible types - from
'int *' to 'stat *
'
tif_unix.c(123): error C2065: 'sb': undeclared identifier

tif_unix.c(123): error C2224: left of '.st_size' must have struct/union type

tif_unix.c(123): warning C4033: '_tiffSizeProc' must return a value Generating Code...

NMAKE: fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"'

: return code '0x2'
Stop.

NMAKE: fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE

"': return code '0x2'
Stop.
*****

Note that only one change was needed to tif_unix.c (move line#119 to the beginning of the block), and now CVS-head compiles on MSVC. -jeff

***
static uint64
_tiffSizeProc(thandle_t fd)
{
        struct stat sb;
        fd_as_handle_union_t fdh;
        fdh.h = fd;
***

To be clear, I only made the change locally (I don't believe that I have commit access to libtiff CVS)

Thanks Jeff. Fix committed.

By the way, Bob & I were wondering the other day about who owns/hosts maptools.org and if there are backups of the CVS server. Is the banner indicating "co-hosted by Mapgears & Gateway Geomatics" still up-to-date? The whois entry points to a dmsolutions.ca name server.

Even

--

Spatialys - Geospatial professional services http://www.spatialys.com