[MacPorts] #46790: pdf2htmlex @0.11+: build fails after upgrade to poppler 0.31.0, cannot initialize a parameter of type 'PSOutputDev *' with an rvalue of type 'bool'
MacPorts
noreply at macports.org
Fri Feb 6 11:55:17 PST 2015
#46790: pdf2htmlex @0.11+: build fails after upgrade to poppler 0.31.0, cannot
initialize a parameter of type 'PSOutputDev *' with an rvalue of type
'bool'
----------------------+------------------------
Reporter: devans@… | Owner: iapain@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: pdf2htmlex
----------------------+------------------------
Build fails as follows
{{{
[ 16%] Building CXX object
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o
/usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wall
-stdlib=libc++ -std=c++0x -O2 -DNDEBUG -arch x86_64 -mmacosx-version-
min=10.9
-I/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src -I/opt/local/include/poppler
-I/opt/local/include/fontforge -I/opt/local/include -o
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o -c
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/font.cc
In file included from
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/font.cc:21:
In file included from
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/HTMLRenderer.h:27:
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/StringFormatter.h:37:12: warning: class
'GuardedPointer' was previously declared as a struct [-Wmismatched-tags]
friend class GuardedPointer;
^
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/StringFormatter.h:19:12: note: previous use is
here
struct GuardedPointer
^
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/StringFormatter.h:37:12: note: did you mean
struct here?
friend class GuardedPointer;
^~~~~
struct
In file included from
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/font.cc:21:
In file included from
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/HTMLRenderer.h:33:
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/BackgroundRenderer/BackgroundRenderer.h:18:1:
warning: class 'Param' was previously declared as a struct [-Wmismatched-
tags]
class Param;
^
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/Param.h:16:8: note: previous use is here
struct Param
^
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/BackgroundRenderer/BackgroundRenderer.h:18:1:
note: did you mean struct here?
class Param;
^~~~~
struct
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/font.cc:890:49: error: cannot
initialize a parameter of type 'PSOutputDev *' with an rvalue of type
'bool'
if(auto * font_loc = font->locateFont(xref, gFalse))
^~~~~~
/opt/local/include/poppler/goo/gtypes.h:36:16: note: expanded from macro
'gFalse'
#define gFalse false
^~~~~
/opt/local/include/poppler/GfxFont.h:243:51: note: passing argument to
parameter 'ps' here
GfxFontLoc *locateFont(XRef *xref, PSOutputDev *ps);
^
/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc/src/HTMLRenderer/font.cc:945:56: error: cannot
initialize a parameter of type 'PSOutputDev *' with an rvalue of type
'bool'
GfxFontLoc * localfontloc = font->locateFont(xref, gFalse);
^~~~~~
/opt/local/include/poppler/goo/gtypes.h:36:16: note: expanded from macro
'gFalse'
#define gFalse false
^~~~~
/opt/local/include/poppler/GfxFont.h:243:51: note: passing argument to
parameter 'ps' here
GfxFontLoc *locateFont(XRef *xref, PSOutputDev *ps);
^
2 warnings and 2 errors generated.
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o] Error
1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_macports_trunk_dports_textproc_pdf2htmlex/pdf2htmlex/work
/pdf2htmlEX-43e3174cbc'
}}}
Full build log attached.
--
Ticket URL: <https://trac.macports.org/ticket/46790>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list