Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 by Even Rouault, 7 years ago

Resolution: fixed
Status: assignedclosed

In 38393:

GTiff: fix compilation without BIGTIFF_SUPPORT (fixes #6890)

comment:2 by Even Rouault, 7 years ago

In 38394:

GTiff: fix compilation without BIGTIFF_SUPPORT (fixes #6890)

Note: See TracTickets for help on using tickets.