jsgc.h(1386) : warning C4273: 'js::PrepareForFullGC' : inconsistent dll linkage

RESOLVED FIXED in mozilla15

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: RyanVM, Assigned: RyanVM)

Tracking

Trunk
mozilla15
x86_64
Windows 7
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Big source of Windows warning spam.

c:\mozbuild\mozilla-central\objdir-fx-vc10\dist\include\jsgc.h(1386) : warning C4273: 'js::PrepareForFullGC' : inconsistent dll linkage
        c:\mozbuild\mozilla-central\objdir-fx-vc10\dist\include\jsfriendapi.h(651) : see previous definition of 'PrepareForFullGC'

I'm assuming that changing jsgc.h to JS_FRIEND_API(void) to match jsfriendapi.h would fix this.
http://mxr.mozilla.org/mozilla-central/source/js/src/jsgc.h#1385
(Assignee)

Comment 1

5 years ago
Created attachment 616805 [details] [diff] [review]
Patch
Assignee: general → ryanvm
Status: NEW → ASSIGNED
Attachment #616805 - Flags: review?(wmccloskey)
Attachment #616805 - Flags: review?(wmccloskey) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/5cd18a14b80f
Flags: in-testsuite-
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/5cd18a14b80f
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.