Bug 12275 - Two solaris build problems
Summary: Two solaris build problems
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 00:13 UTC by Brian Cameron
Modified: 2007-09-04 15:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch fixing casting (565 bytes, patch)
2007-09-04 00:14 UTC, Brian Cameron
Details | Splinter Review

Description Brian Cameron 2007-09-04 00:13:17 UTC
In building the new 0.6 version of poppler, I found that the call to log was failing when building with the Sun Studio compiler.  It generated this error:

"pdftoppm.cc", line 222: Error: Overloading ambiguity between "std::log(double)" and "std::log(long double)".

Simply casting the arguments to double fixed this problem.
Comment 1 Brian Cameron 2007-09-04 00:14:00 UTC
Created attachment 11404 [details] [review]
patch fixing casting
Comment 2 Albert Astals Cid 2007-09-04 15:07:17 UTC
Patch commited, but that was just one build problem, not two, have you forgot a patch or you wanted to add the poppler-data issue here and forgot?


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.