Closed
Bug 284649
Opened 19 years ago
Closed 19 years ago
Compiling mozilla-1.7.5 with GCC 4.0 fails on x86_64
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 269823
People
(Reporter: zlynx, Assigned: darin.moz)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050207 Epiphany/1.4.8 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050207 Epiphany/1.4.8 The build fails with this error message: nsHttpConnectionMgr.cpp:837: error: cast from 'void*' to 'PRUint32' loses precision This is because void* is 64-bits and PRUint32 is 32-bits and the compiler is worried for you. I believe it needs to be cast into a 64-bit integer first. I usually fix this by casting to intptr_t but that definition is not visible in the source file. Reproducible: Always Steps to Reproduce: 1. Try to build Mozilla on 64-bit Linux on Athlon 64. Actual Results: It fails. Expected Results: It should build with GCC 4.
Comment 1•19 years ago
|
||
I'm sure I've seen a bug report about this before... I can't find it currently
Assignee: general → darin
Component: General → Networking
Product: Mozilla Application Suite → Core
QA Contact: general → benc
Summary: Compiling mozilla-1.7.5 with GCC 4.0 fails on x86_64 → Compiling mozilla-1.7.5 with GCC 4.0 fails on x86_64
Version: unspecified → Trunk
Comment 2•19 years ago
|
||
(In reply to comment #1) > I'm sure I've seen a bug report about this before... I can't find it currently I found a bug filed today to dupe to ;). *** This bug has been marked as a duplicate of 284809 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 4•19 years ago
|
||
*** This bug has been marked as a duplicate of 269823 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
Comment 5•19 years ago
|
||
(In reply to comment #3) > no, bug 269823 But Bug 284809 would have fixed this issue, too ;).
You need to log in
before you can comment on or make changes to this bug.
Description
•