[Gdal-dev] NITF fixes

Simon Perkins sy at perkins.net
Tue Aug 21 18:59:06 EDT 2007


Just in case anybody else is also having problems with this, I just 
checked in some fixes to the GDAL NITF format directory to get it to 
compile under visual studio again.

One of the problems was that some new code added earlier today in 
nitffile.c used the strcasecmp() function, which is not available in 
windows. I added a define that translates this to the equivalent 
_stricmp() windows function if _MSC_VER is defined, but I wonder if 
there's a more standard GDAL way to do this? Are these kinds of 
incompatibilities handled by some cpl_ header file somewhere?

Cheers,

Sy




More information about the Gdal-dev mailing list