Closed Bug 934990 Opened 12 years ago Closed 12 years ago

unresolved external symbol in debug builds when calling shadow::Zone::runtimeFromMainThread from browser

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28
Tracking Status
firefox26 --- fixed
firefox27 --- fixed
firefox28 --- fixed
firefox-esr24 --- unaffected
b2g18 --- unaffected
b2g-v1.1hd --- unaffected
b2g-v1.2 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Windows-only. I'm guessing CurrentThreadCanAccessRuntime and CurrentThreadCanAccessZone need to be JS_FRIEND_API rather than extern. Does that sound right? I'll confirm that, then put up a patch for review. UnifiedBindings17.obj : error LNK2001: unresolved external symbol "bool __cdecl js::CurrentThreadCanAccessRuntime(struct JSRuntime *)" (?CurrentThreadCanAccessRuntime@js@@YA_NPAUJSRuntime@@@Z) (I have a zone sitting around already and I want to go from zone to runtime quickly, so that seemed like the fastest thing.)
This at least builds.
Attachment #827454 - Flags: review?(terrence)
Comment on attachment 827454 [details] [diff] [review] will you be my JS_FRIEND_API? Review of attachment 827454 [details] [diff] [review]: ----------------------------------------------------------------- You are quite correct! __declspec(dllexport) r=me
Attachment #827454 - Flags: review?(terrence) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
I don't think this needs QA verification. If anyone thinks that's a mistake please remove the [qa-] whiteboard tag and add the verifyme keyword.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: