Bug 11110

Summary: 0.5.9 RC splash backend fails to compile with --enable-fixedpoint
Product: poppler Reporter: Graeme Gregory <dp>
Component: splash backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Graeme Gregory 2007-05-31 02:37:27 UTC
Here is a dump of the error, seems C++ cant decide which multiply operator to use.

 ccache arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I. -I/home/gg/zaurus/build-terrier/tmp/work/armv5te-angstrom-linux-gnueabi/poppler-0.5.9-r2/poppler-0.5.9/splash -I.. -I../poppler -I/home/gg/zaurus/build-terrier/tmp/work/armv5te-angstrom-linux-gnueabi/poppler-0.5.9-r2/poppler-0.5.9 -I/home/gg/zaurus/build-terrier/tmp/work/armv5te-angstrom-linux-gnueabi/poppler-0.5.9-r2/poppler-0.5.9/goo -I/home/gg/zaurus/build-terrier/tmp/staging/arm-angstrom-linux-gnueabi/include/freetype2 -I/home/gg/zaurus/build-terrier/tmp/staging/arm-angstrom-linux-gnueabi/include -isystem/home/gg/zaurus/build-terrier/tmp/staging/arm-angstrom-linux-gnueabi/include -Wall -Wno-unused -isystem/home/gg/zaurus/build-terrier/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -MT SplashFTFont.lo -MD -MP -MF .deps/SplashFTFont.Tpo -c SplashFTFont.cc  -fPIC -DPIC -o .libs/SplashFTFont.o
SplashFTFont.cc: In constructor 'SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*, SplashCoord*)':
SplashFTFont.cc:130: error: ambiguous overload for 'operator*' in 'size * ((SplashFTFont*)this)->SplashFTFont::textScale'
SplashFTFont.cc:130: note: candidates are: operator*(double, float) <built-in>
SplashFTFont.cc:130: note:                 operator*(double, double) <built-in>
SplashFTFont.cc:130: note:                 operator*(double, int) <built-in>
SplashFTFont.cc:131: error: ambiguous overload for 'operator*' in 'size * ((SplashFTFont*)this)->SplashFTFont::textScale'
SplashFTFont.cc:131: note: candidates are: operator*(double, float) <built-in>
SplashFTFont.cc:131: note:                 operator*(double, double) <built-in>
SplashFTFont.cc:131: note:                 operator*(double, int) <built-in>
SplashFTFont.cc:132: error: ambiguous overload for 'operator*' in 'size * ((SplashFTFont*)this)->SplashFTFont::textScale'
SplashFTFont.cc:132: note: candidates are: operator*(double, float) <built-in>
SplashFTFont.cc:132: note:                 operator*(double, double) <built-in>
SplashFTFont.cc:132: note:                 operator*(double, int) <built-in>
SplashFTFont.cc:133: error: ambiguous overload for 'operator*' in 'size * ((SplashFTFont*)this)->SplashFTFont::textScale'
SplashFTFont.cc:133: note: candidates are: operator*(double, float) <built-in>
SplashFTFont.cc:133: note:                 operator*(double, double) <built-in>
SplashFTFont.cc:133: note:                 operator*(double, int) <built-in>
make[2]: *** [SplashFTFont.lo] Error 1
make[2]: Leaving directory `/home/gg/zaurus/build-terrier/tmp/work/armv5te-angstrom-linux-gnueabi/poppler-0.5.9-r2/poppler-0.5.9/splash'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gg/zaurus/build-terrier/tmp/work/armv5te-angstrom-linux-gnueabi/poppler-0.5.9-r2/poppler-0.5.9'
make: *** [all] Error 2
FATAL: oe_runmake failed
Comment 1 Albert Astals Cid 2007-06-02 02:05:38 UTC
Should be fixed on CVS version

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.