[poppler] Error.h:21: error: type specifier omitted for parameter `va_list'

Kristian Høgsberg krh at bitplanet.net
Sat Jul 9 02:59:30 EST 2005


Jeremy C. Reed wrote:
> Building poppler 0.3.3 with gcc 3.3.3 on NetBSD 2.0.2 fails with:
> 
> Making all in poppler
> /usr/pkg/bin/bmake  all-am
> if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. 
> -I. -I.. -I. -I.. -DDATADIR=\""/usr/pkg/share"\"  -I/usr/pkg/include 
> -I/usr/include -I/usr/pkg/include/freetype2   -Wall -Wno-unused -O2 -s 
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT 
> FlateStream.lo -MD -MP -MF ".deps/FlateStream.Tpo" -c -o FlateStream.lo 
> FlateStream.cc;  then mv -f ".deps/FlateStream.Tpo" 
> ".deps/FlateStream.Plo"; else rm -f ".deps/FlateStream.Tpo"; exit 1; fi
>  c++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/pkg/share\" 
> -I/usr/pkg/tmp/pkgsrc/wip/poppler/work.rainier/.buildlink/include 
> -I/usr/pkg/tmp/pkgsrc/wip/poppler/work.rainier/.buildlink/include/freetype2 
> -Wall -Wno-unused -O2 -s -MT FlateStream.lo -MD -MP -MF 
> .deps/FlateStream.Tpo -c FlateStream.cc  -fPIC -DPIC -o .libs/FlateStream.o
> In file included from FlateStream.h:33,
>                  from FlateStream.cc:8:
> Error.h:21: error: type specifier omitted for parameter `va_list'
> Error.h:21: error: parse error before `)' token
> *** Error code 1
> 
> Any ideas?

This is fixed in CVS.

Kristian



More information about the poppler mailing list