[Poppler-bugs] [Bug 102147] New: Form.h: error: 'vector' in namespace 'std' does not name a type

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 11 10:01:06 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102147

            Bug ID: 102147
           Summary: Form.h: error: 'vector' in namespace 'std' does not
                    name a type
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: qt4 frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: r.hieber at pengutronix.de

Created attachment 133436
  --> https://bugs.freedesktop.org/attachment.cgi?id=133436&action=edit
Form.h: include <vector>

Compiling poppler 0.57.0 with
OSELAS.Toolchain-2016.06.1-arm-v7a-linux-gnueabi-gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized:

                make[5]: Entering directory '.../poppler-0.57.0/qt4/src'
                        CXX      libpoppler_qt4_la-poppler-form.lo
                In file included from poppler-form.cc:26:0:
                ../../poppler/Form.h:544:14: error: 'vector' in namespace 'std'
does not name a template type
                ../../poppler/Form.h:556:8: error: 'vector' in namespace 'std'
does not name a template type
                Makefile:735: recipe for target
'libpoppler_qt4_la-poppler-form.lo' failed

configure arguments were:

                --prefix=/usr --sysconfdir=/etc --localstatedir=/var
                --libdir=/usr/lib --host=arm-v7a-linux-gnueabi
                --build=x86_64-host-linux-gnu --enable-option-checking
                --disable-silent-rules --disable-dependency-tracking
                --enable-shared --enable-fast-install --enable-libtool-lock
                --enable-xpdf-headers --enable-build-type=release
                --disable-single-precision --enable-fixedpoint --enable-cmyk
                --disable-relocatable --enable-libopenjpeg=none
--disable-libnss
                --disable-libtiff --enable-largefile --enable-zlib
                --disable-zlib-uncompress --enable-libcurl
                --enable-dctdecoder=libjpeg --enable-libpng
                --disable-splash-output --enable-cairo-output
                --enable-poppler-glib --disable-introspection --disable-gtk-doc
                --disable-gtk-doc-html --disable-gtk-doc-pdf
                --enable-poppler-qt4 --disable-poppler-qt5 --enable-poppler-cpp
                --disable-gtk-test --enable-utils --disable-compile-warnings
                --enable-cms=lcms1 --without-x
                --with-font-configuration=fontconfig --without-libiconv-prefix
                --with-testdatadir=

Solution is to include <vector> in Form.h, patch is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170811/e273d9f1/attachment.html>


More information about the Poppler-bugs mailing list