Bug 95492 - Can't compile poppler on 32 bit linux platform
Summary: Can't compile poppler on 32 bit linux platform
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 15:04 UTC by Thomas Freitag
Modified: 2016-05-21 16:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
add ull to all unsigned long long constants (5.39 KB, patch)
2016-05-19 15:04 UTC, Thomas Freitag
Details | Splinter Review

Description Thomas Freitag 2016-05-19 15:04:47 UTC
Created attachment 123915 [details] [review]
add ull to all unsigned long long constants

On a 32 bit linux platform I get now the compiler errors with the following pattern:

poppler/Decrypt.cc:1630: error: integer constant is too large for "long" type
make: *** [x86-Linux/Decrypt.o] Error 1

(at least if compiling with gcc 3.4.6)

If I add an "ull" to all unsigned long long constants it works. The attached patch dose this.
Comment 1 Albert Astals Cid 2016-05-21 16:25:52 UTC
Pushed!


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.