[gdal-dev] GDAL/OGR 1.4.4 Release Candidate 1 -- GOOD news

Frank Warmerdam warmerdam at pobox.com
Fri Nov 23 21:52:46 EST 2007


Joaquim Luis wrote:
> Hi all
> 
> By mistake I compiled this version with the Intel compiler and, contrary 
> to a previous attempt, everything run smooth. The only exception was 
> this warning
> "d:\programas\gdal-1.4.4\port\cpl_string.cpp(796) : warning C4700: local 
> variable  'args' used without having been initialized"


Joaquim,

This is caused by a missing va_start() in the CSLAppendPrintf() function.
It seems I screwed up fixes for bug #1979 in r12683.  I'm not sure how
serious this is though.  As far as I can see, the only code using
CSLAppendPrintf() is in MITAB:

ogr/ogrsf_frmts/mitab/mitab_tabview.cpp:
	m_papszTABFnames = CSLAppendPrintf(m_papszTABFnames, "%s%s%d.tab",

ogr/ogrsf_frmts/mitab/mitab_tabview.cpp:
	m_papszTABFnames = CSLAppendPrintf(m_papszTABFnames,

Daniel - can you easily test the code this relates to? I have committed fixes
for this in trunk and 1.4 branch in case we need to cut a new RC with this.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list