PolyIC.cpp fails to compile on mingw-w64

RESOLVED FIXED in mozilla9

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Jacek Caban, Assigned: Jacek Caban)

Tracking

Trunk
mozilla9
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 554827 [details] [diff] [review]
fix v1.0

That's because of Atom* to unsigned long cast that is losing precision on win64 and is an error by default on GCC. I've fixed is by using "%p" in the format and passing a pointer to JaegerSpew, so that no pointer to int conversion is needed.
Attachment #554827 - Flags: review?(jorendorff)
Comment on attachment 554827 [details] [diff] [review]
fix v1.0

"I love you, GCC, but sometimes it seems like whatever I do, it's not good enough for you"
Attachment #554827 - Flags: review?(jorendorff) → review+
(Assignee)

Comment 2

6 years ago
(In reply to Jason Orendorff [:jorendorff] from comment #1)
> Comment on attachment 554827 [details] [diff] [review]
> fix v1.0
> 
> "I love you, GCC, but sometimes it seems like whatever I do, it's not good
> enough for you"

Hehe :)

http://hg.mozilla.org/integration/mozilla-inbound/rev/511103df06b4
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/511103df06b4
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.