Closed
Bug 487765
Opened 16 years ago
Closed 16 years ago
qcms failed to compile on Solaris
Categories
(Core :: Graphics: Color Management, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)
References
Details
(Keywords: fixed1.9.1)
Attachments
(2 files, 1 obsolete file)
|
2.09 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
|
2.45 KB,
patch
|
Details | Diff | Splinter Review |
There are 2 problems.
1) LITTLE_ENDIAN/BIG_ENDIAN is not defined
2) int_types.h defines uintptr_t as unsigned int, but prtypes.h defines PRUptrdiff as unsinged long.
so typedef PRUptrdiff uintptr_t is an error.
int8_t is similar, PRInt8 is signed char, but int_types.h defines int8_t as char.
I saw we have 487566, 487754.
I think we should fix them all together.
For problem 1)
(include prtypes.h)
#ifdef IS_LITTLE_ENDIAN
#define LITTLE_ENDIAN
#endif
#ifdef IS_BIG_ENDIAN
#define BIG_ENDIAN
#endif
For problem 2)
If the system has <inttypes.h> or <stdint.h> why would we redefine them from PR* ?
Blocks: 481926
Comment 2•16 years ago
|
||
Does this patch fix it?
I changed your patch a bit to make it work.
Attachment #372434 -
Attachment is obsolete: true
Attachment #372555 -
Flags: review?(jmuizelaar)
Comment 4•16 years ago
|
||
Comment on attachment 372555 [details] [diff] [review]
patch
Looks good to me.
Attachment #372555 -
Flags: review?(jmuizelaar) → review+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Keywords: fixed1.9.1
Updated•14 years ago
|
Assignee: nobody → ginn.chen
You need to log in
before you can comment on or make changes to this bug.
Description
•