Bug 102147 - Form.h: error: 'vector' in namespace 'std' does not name a type
Summary: Form.h: error: 'vector' in namespace 'std' does not name a type
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-11 10:01 UTC by Roland Hieber
Modified: 2017-08-11 23:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Form.h: include <vector> (2.13 KB, patch)
2017-08-11 10:01 UTC, Roland Hieber
Details | Splinter Review

Description Roland Hieber 2017-08-11 10:01:06 UTC
Created attachment 133436 [details] [review]
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.
Comment 1 Albert Astals Cid 2017-08-11 23:13:41 UTC
Pushed, thanks :)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.