Hi,

FYI
I tried to build (on Windows) with poppler trunk but got the errors below, so had to go back to my working 0.20.0 version.

If wished, I can open a ticket on this issue.

Joaquim


c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getPos': overriding virtual function return type differs
and is not covariant from 'Stream::getPos'
C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(188) : see declaration of 'Stream::getPos' c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getStart': overriding virtual function return type differs and is not covariant from 'BaseStream::getStart' C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(319) : see declaration of 'BaseStream::getStart' c:\programs\compa_libs\poppler_git\poppler\GfxState.h(105) : warning C4244: 'return' : conversion from 'double' to 'Guchar', possible loss of data pdfdataset.cpp(134) : error C2660: 'SplashOutputDev::startPage' : function does not take 2 arguments pdfdataset.cpp(178) : error C2039: 'deviceHasTextClip' : is not a member of 'SplashOutputDev' C:/programs/compa_libs/poppler_GIT\poppler/SplashOutputDev.h(159) : see declaration of 'SplashOutputDev' pdfdataset.cpp(2783) : error C2664: 'setErrorCallback' : cannot convert parameter 1 from 'void (__cdecl *)(void *,ErrorCategory,int,char *)'
to 'void (__cdecl *)(void *,ErrorCategory,Goffset,char *)'
        None of the functions with this name in scope match the target type
pdfdataset.cpp(2810) : error C2259: 'VSIPDFFileStream' : cannot instantiate abstract class
        due to following members:
        'void BaseStream::setPos(Goffset,int)' : is abstract
c:\programs\compa_libs\poppler_git\poppler\Stream.h(310) : see declaration of 'BaseStream::setPos'
        'BaseStream *BaseStream::copy(void)' : is abstract
c:\programs\compa_libs\poppler_git\poppler\Stream.h(307) : see declaration of 'BaseStream::copy' 'Stream *BaseStream::makeSubStream(Goffset,GBool,Goffset,Object *)' : is abstract c:\programs\compa_libs\poppler_git\poppler\Stream.h(308) : see declaration of 'BaseStream::makeSubStream'
        'void BaseStream::moveStart(Goffset)' : is abstract
c:\programs\compa_libs\poppler_git\poppler\Stream.h(320) : see declaration of 'BaseStream::moveStart'
pdfio.cpp
c:\programs\compa_libs\poppler_git\poppler\Stream.h(122) : warning C4244: '=' : conversion from 'const int' to 'Guchar', possible loss of data c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getPos': overriding virtual function return type differs
and is not covariant from 'Stream::getPos'
C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(188) : see declaration of 'Stream::getPos' c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getStart': overriding virtual function return type differs and is not covariant from 'BaseStream::getStart' C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(319) : see declaration of 'BaseStream::getStart' pdfio.cpp(124) : error C2259: 'VSIPDFFileStream' : cannot instantiate abstract class
        due to following members:
        'void BaseStream::setPos(Goffset,int)' : is abstract
C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(310) : see declaration of 'BaseStream::setPos'
        'BaseStream *BaseStream::copy(void)' : is abstract
C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(307) : see declaration of 'BaseStream::copy' 'Stream *BaseStream::makeSubStream(Goffset,GBool,Goffset,Object *)' : is abstract C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(308) : see declaration of 'BaseStream::makeSubStream'
        'void BaseStream::moveStart(Goffset)' : is abstract
C:/programs/compa_libs/poppler_GIT\poppler/Stream.h(320) : see declaration of 'BaseStream::moveStart'

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to