Created
June 13, 2015 05:34
-
-
Save siscia/8a5119caf5f3e6979cbd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /mozjs-31.2.0/js/src/build_DBG.OBJ/dist/include/jspubtd.h:432:74: warning: invalid access to non-static data member ‘js::PerThreadDataFriendFields::RuntimeDummy::mainThread’ of NULL object [-Winvalid-offsetof] | |
| static const size_t RuntimeMainThreadOffset = offsetof(RuntimeDummy, mainThread); | |
| ^ | |
| /mozjs-31.2.0/js/src/build_DBG.OBJ/dist/include/jspubtd.h:432:74: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] | |
| test3.cpp: In function ‘int main(int, const char**)’: | |
| test3.cpp:77:82: error: no matching function for call to ‘JS::CompileOptions::originPrincipals(JSContext*&)’ | |
| script = JS_DecodeScript(cx, loadBuffer, saveLength, options.originPrincipals(cx)); | |
| ^ | |
| test3.cpp:77:82: note: candidate is: | |
| In file included from test3.cpp:2:0: | |
| /mozjs-31.2.0/js/src/build_DBG.OBJ/dist/include/jsapi.h:3490:19: note: JSPrincipals* JS::ReadOnlyCompileOptions::originPrincipals(js::ExclusiveContext*) const | |
| JSPrincipals *originPrincipals(js::ExclusiveContext *cx) const; | |
| ^ | |
| /mozjs-31.2.0/js/src/build_DBG.OBJ/dist/include/jsapi.h:3490:19: note: no known conversion for argument 1 from ‘JSContext*’ to ‘js::ExclusiveContext*’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment