[gdal-dev] gdal 1.6 on Windows XP build error (tif_ojpeg.c)

Gong, Shawn (Contractor) Shawn.Gong at drdc-rddc.gc.ca
Thu Dec 11 13:11:41 EST 2008


hi list,

I used MS VC++ 6.0 to build gdal. Here is the error for file: 
C:\build19\gdal-1.6.0\frmts\gtiff\libtiff\tif_ojpeg.c

tif_ojpeg.c(599) : error C2632: 'long' followed by 'long' is illegal
tif_ojpeg.c(601) : error C2632: 'long' followed by 'long' is illegal
tif_ojpeg.c(606) : error C2632: 'long' followed by 'long' is illegal
tif_ojpeg.c(613) : error C2632: 'long' followed by 'long' is illegal
tif_ojpeg.c(620) : error C2632: 'long' followed by 'long' is illegal

Should I change "unsigned long long" to "unsigned long" ?

thanks,
Shawn



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081211/cb8780d7/attachment.html


More information about the gdal-dev mailing list