Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#6890 closed defect (fixed)

GTiff: compilation failure without BIGTIFF_SUPPORT

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 2.2.1
Component: default Version: 2.2.0
Severity: normal Keywords: gtiff
Cc:

Description

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

Change History (2)

comment:1 Changed 3 months ago by Even Rouault

Resolution: fixed
Status: assignedclosed

In 38393:

GTiff: fix compilation without BIGTIFF_SUPPORT (fixes #6890)

comment:2 Changed 3 months ago by Even Rouault

In 38394:

GTiff: fix compilation without BIGTIFF_SUPPORT (fixes #6890)

Note: See TracTickets for help on using tickets.