Open
Bug 1082033
Opened 10 years ago
Updated 2 years ago
VisualStudio does not compile project using jsapi.h (c2063 on JSVAL_TO_IMPL)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: u520299, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406
Steps to reproduce:
1. Build SpiderMonkey24 from source on Windows 7 using the mozilla-build environment (using a clean VisualStudio 2013 setup as suggested by build instructions).
2. Include jsapi.h into a new VisualStudio 2013 project.
3. Hit "Compile".
Actual results:
Compiler error:
"c:\...\XYZ.vcxproj" (default target) (1) ->
(ClCompile target) ->
c:\...\spidermonkey\include\js\value.h(1338): error C2063: 'JSVAL_TO_IMPL' : not a function [c:\…\XYZ.vcxproj]
Expected results:
Successful compilation.
Dirty(?) workaround:
Removing double-colon (global namespace specifier) before JSVAL_TO_IMPL (line 1338) led to successful compilation.
OS: Mac OS X → Windows 7
Summary: jsval_to_impl → VisualStudio does not compile project using jsapi.h (c2063 on JSVAL_TO_IMPL)
You should check out SpiderMonkey 31 RC, we are not going to fix anything in SM 24 at this point.
https://groups.google.com/forum/#!topic/mozilla.dev.tech.js-engine/lrVCmUuXkDk
Submitted to soon: Thank you for reporting this problem! I might have missunderstood something, are you actually trying to use SpiderMonkey for embedding?
Yes, indeed. We want to embed it into our application. Thanks for your prompt reply.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•