2015.06.11 15:46 "[Tiff] Libtiff 4.0.4 release soon", by Bob Friesenhahn

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