[gdal-dev] warnings a fail with poppler

Etienne Tourigny etourigny.dev at gmail.com
Wed Feb 12 03:24:31 PST 2014


On Sun, Feb 9, 2014 at 10:21 AM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> Le dimanche 02 février 2014 02:05:23, Joaquim Luis a écrit :
> > Hi,
> >
> > I am seeing this warnings and trying to build with poppler (a trunk
> > build here) fails too with
> >
> > pdfdataset.obj : error LNK2001: unresolved external symbol "public:
> > __cdecl SplashOutputDev::SplashOutputDev(enum
> > SplashColorMode,int,bool,unsigned char *,bool,bool,enum
> > SplashThinLineMode,bool)"
> > (??0SplashOutputDev@@QEAA at W4SplashColorMode
> @@H_NPEAE11W4SplashThinLineMode@
> > @1 at Z) pdfdataset.obj : error LNK2001: unresolved external symbol
> "public:
> > struct Ref * __cdecl Catalog::getPageRef(int)"
> > (?getPageRef at Catalog@@QEAAPEAURef@@H at Z)
> >
> > I could see that SplashOutputDev is poppler.lib
>
> I'm not sure why you get this error. Perhaps due how poppler.lib was
> generated
> ? Are the symbols well exported in it ?
>
> I can see that Tamas has upgraded his builds at
> http://www.gisinternals.com/sdk/ to latest poppler (0.24.5), so you could
> likely take poppler.lib from there.
>
> >
> > and now the warnings
>
> They aren't particularly new I guess since that code hasn't changed in a
> while. Would be nice if someone wanted to clean them up.
>

this kind of warnings appear (or not), depending on the compiler and
version used.


>
> >
> > c:\programs\gdaltrunk\gdal\frmts\iris\irisdataset.cpp(564) : warning
> > C4701: potentially uninitialized local variable 'dfCos2SigmaM' used
> > c:\programs\gdaltrunk\gdal\frmts\iris\irisdataset.cpp(558) : warning
> > C4701: potentially uninitialized local variable 'dfSinSigma' used
> > c:\programs\gdaltrunk\gdal\frmts\iris\irisdataset.cpp(558) : warning
> > C4701: potentially uninitialized local variable 'dfCosSigma' used
> >
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(2469) :
> > warning C4701: potentially uninitialized local variable 'iWrkNumType'
> used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3440) :
> > warning C4706: assignment within conditional expression
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3447) :
> > warning C4706: assignment within conditional expression
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3462) :
> > warning C4706: assignment within conditional expression
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3469) :
> > warning C4706: assignment within conditional expression
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3401) :
> > warning C4701: potentially uninitialized local variable 'dfNoData' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3405) :
> > warning C4701: potentially uninitialized local variable 'dfScale' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf4imagedataset.cpp(3410) :
> > warning C4701: potentially uninitialized local variable 'dfOffset' used
> >
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\ehapi.c(448) : warning
> > C4701: potentially uninitialized local variable 'sdInterfaceID' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\ehapi.c(435) : warning
> > C4701: potentially uninitialized local variable 'HDFfid' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\ehapi.c(445) : warning
> > C4701: potentially uninitialized local variable 'acs' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(3270) : warning
> > C4701: potentially uninitialized local variable 'c_info' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(3281) : warning
> > C4701: potentially uninitialized local variable 'chunkDef' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(6470) : warning
> > C4701: potentially uninitialized local variable 'latrad0' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(6500) : warning
> > C4701: potentially uninitialized local variable 'yMtr0' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(6499) : warning
> > C4701: potentially uninitialized local variable 'xMtr0' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(2632) : warning
> > C4701: potentially uninitialized local variable 'ndims' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(6741) : warning
> > C4701: potentially uninitialized local variable 'qp_cea' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(6741) : warning
> > C4701: potentially uninitialized local variable 'kz_cea' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(7967) : warning
> > C4701: potentially uninitialized local variable 'minCol' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(7969) : warning
> > C4701: potentially uninitialized local variable 'minRow' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(7968) : warning
> > C4701: potentially uninitialized local variable 'maxCol' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(7970) : warning
> > C4701: potentially uninitialized local variable 'maxRow' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(8614) : warning
> > C4701: potentially uninitialized local variable 'rank' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9025) : warning
> > C4701: potentially uninitialized local variable 'j' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9564) : warning
> > C4701: potentially uninitialized local variable 'xdum' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9565) : warning
> > C4701: potentially uninitialized local variable 'ydum' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9681) : warning
> > C4701: potentially uninitialized local variable 'size' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9843) : warning
> > C4701: potentially uninitialized local variable 'xdum' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(9844) : warning
> > C4701: potentially uninitialized local variable 'ydum' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(10109) : warning
> > C4701: potentially uninitialized local variable 'nRetn' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\gdapi.c(10573) : warning
> > C4701: potentially uninitialized local variable 'c_info' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(2451) : warning
> > C4701: potentially uninitialized local variable 'vdataID' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(4282) : warning
> > C4701: potentially uninitialized local variable 'nVal' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(5839) : warning
> > C4701: potentially uninitialized local variable 'j' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(6454) : warning
> > C4701: potentially uninitialized local variable 'tmpVal' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(6776) : warning
> > C4701: potentially uninitialized local variable 'k' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(7267) : warning
> > C4701: potentially uninitialized local variable 'incr' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(7301) : warning
> > C4701: potentially uninitialized local variable 'offset' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(7271) : warning
> > C4701: potentially uninitialized local variable 'index' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(7249) : warning
> > C4701: potentially uninitialized local variable 'bufOffset' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(8428) : warning
> > C4701: potentially uninitialized local variable 'incr' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(8414) : warning
> > C4701: potentially uninitialized local variable 'index' used
> > c:\programs\gdaltrunk\gdal\frmts\hdf4\hdf-eos\swapi.c(9128) : warning
> > C4701: potentially uninitialized local variable 'j' used
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140212/5bad6c34/attachment.html>


More information about the gdal-dev mailing list