[Poppler-bugs] [Bug 15874] New: build fails with --enable-fixedpoint

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 8 07:39:36 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15874

           Summary: build fails with --enable-fixedpoint
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: splash backend
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: lacombar at gmail.com


Created an attachment (id=16431)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16431)
fix build of Splash.cc.

build of Splash.cc fails with the following:

Splash.cc: In member function 'void Splash::fillGlyph2(int, int,
SplashGlyphBitmap*, GBool)':
Splash.cc:1769: error: 'ceil' was not declared in this scope
Splash.cc:1815: error: 'ceil' was not declared in this scope

if we look in goo/FixedPoint.h, we can see that ceil() exists only for a
FixedPoint argument. As `glyph->w' is an integer, the call to ceil() can be
replaced here by a direct tristate operator. The attached patch fix this.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list