Re: [gdal-dev] GDAL build without big tiff support

2017-05-16 Thread Even Rouault
On mardi 16 mai 2017 01:27:15 CEST Dmitry Baryshnikov wrote:
> Hi,
> 
> it seem to me there is misprint here:
> 
> https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/gtiff/geotiff.cpp#L16195
> instead of
> 
>  > else if( nCompression == COMPRESSION_JPEG
> 
> should be
> 
>  > else if( l_nCompression == COMPRESSION_JPEG
> 
> 
Indeed. Fixed per https://trac.osgeo.org/gdal/ticket/6890

As you may guess, this configuration hasn't been tested in a while at runtime 
too.

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL build without big tiff support

2017-05-15 Thread Dmitry Baryshnikov

Hi,

it seem to me there is misprint here:

https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/gtiff/geotiff.cpp#L16195
instead of

> else if( nCompression == COMPRESSION_JPEG

should be

> else if( l_nCompression == COMPRESSION_JPEG


Without this fix I get such error in build without BIG TIFF Support: 
error C2597: illegal reference to non-static member 
'GTiffDataset::nCompression'


--
Best regards,
Dmitry

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev