big-r81 opened a new pull request, #5146:
URL: https://github.com/apache/couchdb/pull/5146

   Simple starting point...
   
   Got the following compile error:
   
   ```
   ==> couch (compile)
   Compiling 
/Users/big-r/Documents/Developer/CouchDB/couchdb/src/couch/priv/couch_js/115/main.cpp
   
/Users/big-r/Documents/Developer/CouchDB/couchdb/src/couch/priv/couch_js/115/main.cpp:50:5:
 error: excess elements in struct initializer
       JS_GlobalObjectTraceHook
       ^~~~~~~~~~~~~~~~~~~~~~~~
   
/Users/big-r/Documents/Developer/CouchDB/couchdb/src/couch/priv/couch_js/115/main.cpp:255:5:
 error: cannot initialize a member subobject of type 'JSCSPEvalChecker' (aka 
'bool (*)(JSContext *, JS::RuntimeCode, Handle<JSString *>)') with an lvalue of 
type 'bool (JSContext *, JS::HandleString)' (aka 'bool (JSContext *, 
Handle<JSString *>)'): different number of parameters (3 vs 2)
       csp_allows,
       ^~~~~~~~~~
   2 errors generated.
   ERROR: compile failed while processing 
/Users/big-r/Documents/Developer/CouchDB/couchdb/src/couch: rebar_abort
   make: *** [couch] Error 1
   ```
   
   Like @nickva found out in #4305 `csp_allows` gets an extra flag. I looked at 
this [migration 
guide](https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/esr115/docs/Migration%20Guide.md),
 but found nothing which is affecting us (really? idk!). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to