Undefined reference to js_myfmod on mingw-w64

RESOLVED FIXED in mozilla8

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Jacek Caban, Assigned: Jacek Caban)

Tracking

Trunk
mozilla8
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

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

Bug 635617 introduced my_fmod as a workaround for MSC compiler, but #ifdefs check only version of MSC, don't check if we're on MSC.
Attachment #544753 - Flags: review?(m_kato)
(In reply to comment #0)
> Created attachment 544753 [details] [diff] [review] [review]
> fix v1.0
> 
> Bug 635617 introduced my_fmod as a workaround for MSC compiler, but #ifdefs
> check only version of MSC, don't check if we're on MSC.

Jacek, does mingw64 has _M_X64?
(Assignee)

Comment 2

6 years ago
(In reply to comment #1)
> (In reply to comment #0)
> > Created attachment 544753 [details] [diff] [review] [review] [review]
> > fix v1.0
> > 
> > Bug 635617 introduced my_fmod as a workaround for MSC compiler, but #ifdefs
> > check only version of MSC, don't check if we're on MSC.
> 
> Jacek, does mingw64 has _M_X64?

Yes, it does. mingw-w64 generally tries to be compatible with MSC about such things.
Comment on attachment 544753 [details] [diff] [review]
fix v1.0

Review of attachment 544753 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #544753 - Flags: review?(m_kato) → review+
(Assignee)

Comment 4

6 years ago
Thanks for review, pushed to m-i:

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