=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gjs", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gjs-1.68.4nb27 ninja: Entering directory `output' [1/110] Generating js-resources_h with a custom command [2/110] Generating js-resources_c with a custom command [3/110] Compiling C++ object libgjs-jsapi.a.p/gjs_jsapi-dynamic-class.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gjs/jsapi-dynamic-class.cpp:12: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_define_property_dynamic(JSContext*, JS::HandleObject, const char*, const char*, JSNative, JSNative, JS::HandleValue, unsigned int)' at ../gjs/jsapi-dynamic-class.cpp:202:81: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'getter_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/jsapi-dynamic-class.cpp: In function 'bool gjs_define_property_dynamic(JSContext*, JS::HandleObject, const char*, const char*, JSNative, JSNative, JS::HandleValue, unsigned int)': ../gjs/jsapi-dynamic-class.cpp:201:22: note: 'getter_obj' declared here 201 | JS::RootedObject getter_obj(cx, | ^~~~~~~~~~ ../gjs/jsapi-dynamic-class.cpp:189:46: note: 'cx' declared here 189 | gjs_define_property_dynamic(JSContext *cx, | ~~~~~~~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_object_in_prototype_chain(JSContext*, JS::HandleObject, JS::HandleObject, bool*)' at ../gjs/jsapi-dynamic-class.cpp:250:74: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object_prototype' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/jsapi-dynamic-class.cpp: In function 'bool gjs_object_in_prototype_chain(JSContext*, JS::HandleObject, JS::HandleObject, bool*)': ../gjs/jsapi-dynamic-class.cpp:250:22: note: 'object_prototype' declared here 250 | JS::RootedObject object_prototype(cx, JS::GetRealmObjectPrototype(cx)); | ^~~~~~~~~~~~~~~~ ../gjs/jsapi-dynamic-class.cpp:247:47: note: 'cx' declared here 247 | bool gjs_object_in_prototype_chain(JSContext* cx, JS::HandleObject proto, | ~~~~~~~~~~~^~ [4/110] Compiling C++ object libgjs-jsapi.a.p/gjs_jsapi-util-error.cpp.o [5/110] Compiling C++ object libgjs-jsapi.a.p/gjs_jsapi-util-string.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from ../gjs/jsapi-util-string.cpp:20: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSString*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSString*; T = JSString*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'jsid gjs_intern_string_to_id(JSContext*, const char*)' at ../gjs/jsapi-util-string.cpp:397:64: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'str' in '((JS::Rooted**)cx)[7]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/jsapi-util-string.cpp: In function 'jsid gjs_intern_string_to_id(JSContext*, const char*)': ../gjs/jsapi-util-string.cpp:397:22: note: 'str' declared here 397 | JS::RootedString str(cx, JS_AtomizeAndPinString(cx, string)); | ^~~ ../gjs/jsapi-util-string.cpp:394:37: note: 'cx' declared here 394 | gjs_intern_string_to_id(JSContext *cx, | ~~~~~~~~~~~~^~ [6/110] Compiling C++ object libgjs-jsapi.a.p/gjs_jsapi-util.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../gjs/jsapi-util.cpp:23: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_define_string_array(JSContext*, JS::HandleObject, const char*, const std::vector >&, unsigned int)' at ../gjs/jsapi-util.cpp:229:77: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'array' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/jsapi-util.cpp: In function 'JSObject* gjs_define_string_array(JSContext*, JS::HandleObject, const char*, const std::vector >&, unsigned int)': ../gjs/jsapi-util.cpp:229:22: note: 'array' declared here 229 | JS::RootedObject array(context, gjs_build_string_array(context, strings)); | ^~~~~ ../gjs/jsapi-util.cpp:224:46: note: 'context' declared here 224 | JSObject* gjs_define_string_array(JSContext* context, | ~~~~~~~~~~~^~~~~~~ [7/110] Compiling C++ object libgjs-jsapi.a.p/util_misc.cpp.o [8/110] Compiling C object libgjs.so.0.0.0.p/meson-generated_.._js-resources.c.o [9/110] Compiling C++ object libgjs-jsapi.a.p/util_log.cpp.o [10/110] Linking static target libgjs-jsapi.a [11/110] Compiling C++ object libgjs.so.0.0.0.p/gi_arg-cache.cpp.o In file included from ../gi/arg-cache.cpp:27: ../gi/arg-cache.h:71:25: warning: 'GjsArgumentCache::::::scope' is too small to hold all values of 'enum GIScopeType' 71 | GIScopeType scope : 2; | ^~~~~ [12/110] Compiling C++ object libgjs.so.0.0.0.p/gi_arg.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../gi/arg.cpp:17: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool gjs_array_to_flat_struct_array(JSContext*, JS::HandleValue, unsigned int, GITypeInfo*, GIBaseInfo*, GIInfoType, void**)' at ../gi/arg.cpp:790:28, inlined from 'bool gjs_array_to_array(JSContext*, JS::HandleValue, size_t, GITransfer, GITypeInfo*, void**)' at ../gi/arg.cpp:953:54, inlined from 'bool gjs_array_to_explicit_array(JSContext*, JS::HandleValue, GITypeInfo*, const char*, GjsArgumentType, GITransfer, GjsArgumentFlags, void**, size_t*)' at ../gi/arg.cpp:1134:40: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'elem' in '((JS::Rooted**)context)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/arg.cpp: In function 'bool gjs_array_to_explicit_array(JSContext*, JS::HandleValue, GITypeInfo*, const char*, GjsArgumentType, GITransfer, GjsArgumentFlags, void**, size_t*)': ../gi/arg.cpp:790:21: note: 'elem' declared here 790 | JS::RootedValue elem(cx); | ^~~~ ../gi/arg.cpp:1089:45: note: 'context' declared here 1089 | bool gjs_array_to_explicit_array(JSContext* context, JS::HandleValue value, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::StackGCVector]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::StackGCVector; T = JS::StackGCVector]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::RootedVector::RootedVector(JSContext*) [with T = JS::Value]' at /opt/pkg/include/mozjs-78/js/GCVector.h:325:58, inlined from 'bool gjs_array_from_flat_gvalue_array(JSContext*, gpointer, unsigned int, JS::MutableHandleValue)' at ../gi/arg.cpp:832:40, inlined from 'bool gjs_array_from_carray_internal(JSContext*, JS::MutableHandleValue, GIArrayType, GITypeInfo*, guint, gpointer)' at ../gi/arg.cpp:1949:48: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'elems' in '((JS::Rooted**)context)[13]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/arg.cpp: In function 'bool gjs_array_from_carray_internal(JSContext*, JS::MutableHandleValue, GIArrayType, GITypeInfo*, guint, gpointer)': ../gi/arg.cpp:832:27: note: 'elems' declared here 832 | JS::RootedValueVector elems(context); | ^~~~~ ../gi/arg.cpp:1935:56: note: 'context' declared here 1935 | gjs_array_from_carray_internal (JSContext *context, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [13/110] Compiling C++ object libgjs.so.0.0.0.p/gi_closure.cpp.o [14/110] Compiling C++ object libgjs.so.0.0.0.p/gi_boxed.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/boxed.cpp:16: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = BoxedBase; Prototype = BoxedPrototype; Instance = BoxedInstance]' at ../gi/wrapperutils.h:468:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/boxed.cpp:28: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = BoxedBase; Prototype = BoxedPrototype; Instance = BoxedInstance]': ../gi/wrapperutils.h:468:52: note: 'obj' declared here 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/wrapperutils.h:468:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/boxed.h:25, from ../gi/boxed.cpp:30: ../gi/wrapperutils.h:467:38: note: 'cx' declared here 467 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool BoxedInstance::get_nested_interface_object(JSContext*, JSObject*, GIFieldInfo*, GIBaseInfo*, JS::MutableHandleValue) const' at ../gi/boxed.cpp:489:63: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In member function 'bool BoxedInstance::get_nested_interface_object(JSContext*, JSObject*, GIFieldInfo*, GIBaseInfo*, JS::MutableHandleValue) const': ../gi/boxed.cpp:488:22: note: 'obj' declared here 488 | JS::RootedObject obj(context, gjs_new_object_with_generic_prototype( | ^~~ ../gi/boxed.cpp:475:16: note: 'context' declared here 475 | JSContext* context, JSObject* parent_obj, GIFieldInfo* field_info, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool BoxedBase::field_getter(JSContext*, unsigned int, JS::Value*)' at ../gi/boxed.cpp:517:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In static member function 'static bool BoxedBase::field_getter(JSContext*, unsigned int, JS::Value*)': ../gi/boxed.cpp:517:53: note: 'obj' declared here 517 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, args, obj, BoxedBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/boxed.cpp:517:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 517 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, args, obj, BoxedBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp:516:41: note: 'context' declared here 516 | bool BoxedBase::field_getter(JSContext* context, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool BoxedInstance::set_nested_interface_object(JSContext*, GIFieldInfo*, GIBaseInfo*, JS::HandleValue)' at ../gi/boxed.cpp:584:71: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In member function 'bool BoxedInstance::set_nested_interface_object(JSContext*, GIFieldInfo*, GIBaseInfo*, JS::HandleValue)': ../gi/boxed.cpp:583:22: note: 'proto' declared here 583 | JS::RootedObject proto( | ^~~~~ ../gi/boxed.cpp:570:60: note: 'context' declared here 570 | bool BoxedInstance::set_nested_interface_object(JSContext* context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool BoxedBase::field_setter(JSContext*, unsigned int, JS::Value*)' at ../gi/boxed.cpp:659:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In static member function 'static bool BoxedBase::field_setter(JSContext*, unsigned int, JS::Value*)': ../gi/boxed.cpp:659:48: note: 'obj' declared here 659 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, BoxedBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/boxed.cpp:659:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 659 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, BoxedBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp:658:41: note: 'cx' declared here 658 | bool BoxedBase::field_setter(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* BoxedInstance::new_for_c_struct_impl(JSContext*, GIStructInfo*, void*, Args&& ...) [with Args = {NoCopy&}]' at ../gi/boxed.cpp:968:22, inlined from 'static JSObject* BoxedInstance::new_for_c_struct(JSContext*, GIStructInfo*, void*, NoCopy)' at ../gi/boxed.cpp:1001:33: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In static member function 'static JSObject* BoxedInstance::new_for_c_struct(JSContext*, GIStructInfo*, void*, NoCopy)': ../gi/boxed.cpp:968:22: note: 'obj' declared here 968 | JS::RootedObject obj(cx, gjs_new_object_with_generic_prototype(cx, info)); | ^~~ ../gi/boxed.cpp:999:54: note: 'cx' declared here 999 | JSObject* BoxedInstance::new_for_c_struct(JSContext* cx, GIStructInfo* info, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* BoxedInstance::new_for_c_struct_impl(JSContext*, GIStructInfo*, void*, Args&& ...) [with Args = {}]' at ../gi/boxed.cpp:968:22: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In static member function 'static JSObject* BoxedInstance::new_for_c_struct_impl(JSContext*, GIStructInfo*, void*, Args&& ...) [with Args = {}]': ../gi/boxed.cpp:968:22: note: 'obj' declared here 968 | JS::RootedObject obj(cx, gjs_new_object_with_generic_prototype(cx, info)); | ^~~ ../gi/boxed.cpp:958:59: note: 'cx' declared here 958 | JSObject* BoxedInstance::new_for_c_struct_impl(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool BoxedInstance::init_from_props(JSContext*, JS::Value)' at ../gi/boxed.cpp:230:34: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'value' in '((JS::Rooted**)context)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/boxed.cpp: In member function 'bool BoxedInstance::init_from_props(JSContext*, JS::Value)': ../gi/boxed.cpp:230:21: note: 'value' declared here 230 | JS::RootedValue value(context); | ^~~~~ ../gi/boxed.cpp:215:48: note: 'context' declared here 215 | bool BoxedInstance::init_from_props(JSContext* context, JS::Value props_value) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = BoxedBase; Prototype = BoxedPrototype; Instance = BoxedInstance]' at ../gi/wrapperutils.h:424:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = BoxedBase; Prototype = BoxedPrototype; Instance = BoxedInstance]': ../gi/wrapperutils.h:424:26: note: 'obj' declared here 424 | JS::RootedObject obj( | ^~~ ../gi/wrapperutils.h:417:40: note: 'cx' declared here 417 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ [15/110] Compiling C++ object libgjs.so.0.0.0.p/gi_cwrapper.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from /opt/pkg/include/mozjs-78/js/PropertyDescriptor.h:17, from ../gi/cwrapper.cpp:9: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_wrapper_define_gtype_prop(JSContext*, JS::HandleObject, GType)' at ../gi/cwrapper.cpp:21:77: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'gtype_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.cpp: In function 'bool gjs_wrapper_define_gtype_prop(JSContext*, JS::HandleObject, GType)': ../gi/cwrapper.cpp:21:22: note: 'gtype_obj' declared here 21 | JS::RootedObject gtype_obj(cx, gjs_gtype_create_gtype_wrapper(cx, gtype)); | ^~~~~~~~~ ../gi/cwrapper.cpp:19:47: note: 'cx' declared here 19 | bool gjs_wrapper_define_gtype_prop(JSContext* cx, JS::HandleObject constructor, | ~~~~~~~~~~~^~ [16/110] Compiling C++ object libgjs.so.0.0.0.p/gi_enumeration.cpp.o [17/110] Compiling C++ object libgjs.so.0.0.0.p/gi_foreign.cpp.o [18/110] Compiling C++ object libgjs.so.0.0.0.p/gi_fundamental.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from ../gi/fundamental.cpp:12: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = FundamentalBase; Prototype = FundamentalPrototype; Instance = FundamentalInstance]' at ../gi/wrapperutils.h:468:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/fundamental.cpp:20: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = FundamentalBase; Prototype = FundamentalPrototype; Instance = FundamentalInstance]': ../gi/wrapperutils.h:468:52: note: 'obj' declared here 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/wrapperutils.h:468:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/fundamental.h:17, from ../gi/fundamental.cpp:23: ../gi/wrapperutils.h:467:38: note: 'cx' declared here 467 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static FundamentalPrototype* FundamentalPrototype::for_gtype(JSContext*, GType)' at ../gi/fundamental.cpp:433:67: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/fundamental.cpp: In static member function 'static FundamentalPrototype* FundamentalPrototype::for_gtype(JSContext*, GType)': ../gi/fundamental.cpp:432:22: note: 'proto' declared here 432 | JS::RootedObject proto( | ^~~~~ ../gi/fundamental.cpp:430:66: note: 'cx' declared here 430 | FundamentalPrototype* FundamentalPrototype::for_gtype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = FundamentalBase; Prototype = FundamentalPrototype; Instance = FundamentalInstance]' at ../gi/wrapperutils.h:424:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = FundamentalBase; Prototype = FundamentalPrototype; Instance = FundamentalInstance]': ../gi/wrapperutils.h:424:26: note: 'obj' declared here 424 | JS::RootedObject obj( | ^~~ ../gi/wrapperutils.h:417:40: note: 'cx' declared here 417 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* FundamentalInstance::object_for_c_ptr(JSContext*, void*)' at ../gi/fundamental.cpp:406:88: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/fundamental.cpp: In static member function 'static JSObject* FundamentalInstance::object_for_c_ptr(JSContext*, void*)': ../gi/fundamental.cpp:404:22: note: 'proto' declared here 404 | JS::RootedObject proto(context, | ^~~~~ ../gi/fundamental.cpp:389:60: note: 'context' declared here 389 | JSObject* FundamentalInstance::object_for_c_ptr(JSContext* context, | ~~~~~~~~~~~^~~~~~~ [19/110] Compiling C++ object libgjs.so.0.0.0.p/gi_function.cpp.o In file included from ../gi/function.cpp:35: ../gi/arg-cache.h:71:25: warning: 'GjsArgumentCache::::::scope' is too small to hold all values of 'enum GIScopeType' 71 | GIScopeType scope : 2; | ^~~~~ ../gi/function.cpp: In destructor 'GjsCallbackTrampoline::~GjsCallbackTrampoline()': ../gi/function.cpp:650:37: warning: 'void g_callable_info_free_closure(GICallableInfo*, ffi_closure*)' is deprecated: Use 'g_callable_info_destroy_closure' instead [-Wdeprecated-declarations] 650 | g_callable_info_free_closure(m_info, m_closure); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../gi/function.cpp:17: /home/pbulk/work/lang/gjs/work/.buildlink/include/gobject-introspection-1.0/girffi.h:106:15: note: declared here 106 | void g_callable_info_free_closure (GICallableInfo *callable_info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp: In member function 'bool GjsCallbackTrampoline::initialize(JSContext*, JS::HandleFunction, bool)': ../gi/function.cpp:723:48: warning: 'ffi_closure* g_callable_info_prepare_closure(GICallableInfo*, ffi_cif*, GIFFIClosureCallback, gpointer)' is deprecated: Use 'g_callable_info_create_closure' instead [-Wdeprecated-declarations] 723 | m_closure = g_callable_info_prepare_closure( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 724 | m_info, &m_cif, | ~~~~~~~~~~~~~~~ 725 | [](ffi_cif*, void* result, void** ffi_args, void* data) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 726 | auto** args = reinterpret_cast(ffi_args); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 727 | g_assert(data && "Trampoline data is not set"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | GjsAutoCallbackTrampoline trampoline( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 729 | static_cast(data), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 730 | GjsAutoTakeOwnership()); | ~~~~~~~~~~~~~~~~~~~~~~~~ 731 | | 732 | trampoline->callback_closure(args, result); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 733 | }, | ~~ 734 | this); | ~~~~~ /home/pbulk/work/lang/gjs/work/.buildlink/include/gobject-introspection-1.0/girffi.h:100:15: note: declared here 100 | ffi_closure * g_callable_info_prepare_closure (GICallableInfo *callable_info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../gi/function.cpp:21: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool Function::get_length(JSContext*, unsigned int, JS::Value*)' at ../gi/function.cpp:1150:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'this_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/function.cpp:36: ../gi/function.cpp: In static member function 'static bool Function::get_length(JSContext*, unsigned int, JS::Value*)': ../gi/function.cpp:1150:38: note: 'this_obj' declared here 1150 | GJS_GET_THIS(cx, argc, vp, args, this_obj); | ^~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/function.cpp:1149:38: note: 'cx' declared here 1149 | bool Function::get_length(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* Function::create(JSContext*, GType, GICallableInfo*)' at ../gi/function.cpp:1306:72: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp: In static member function 'static JSObject* Function::create(JSContext*, GType, GICallableInfo*)': ../gi/function.cpp:1306:22: note: 'proto' declared here 1306 | JS::RootedObject proto(context, Function::create_prototype(context)); | ^~~~~ ../gi/function.cpp:1304:39: note: 'context' declared here 1304 | JSObject* Function::create(JSContext* context, GType gtype, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_define_function(JSContext*, JS::HandleObject, GType, GICallableInfo*)' at ../gi/function.cpp:1343:78: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'function' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp: In function 'JSObject* gjs_define_function(JSContext*, JS::HandleObject, GType, GICallableInfo*)': ../gi/function.cpp:1343:22: note: 'function' declared here 1343 | JS::RootedObject function(context, Function::create(context, gtype, info)); | ^~~~~~~~ ../gi/function.cpp:1332:38: note: 'context' declared here 1332 | gjs_define_function(JSContext *context, | ~~~~~~~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool Function::to_string(JSContext*, unsigned int, JS::Value*)' at ../gi/function.cpp:1159:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'this_obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp: In static member function 'static bool Function::to_string(JSContext*, unsigned int, JS::Value*)': ../gi/function.cpp:1159:52: note: 'this_obj' declared here 1159 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, rec, this_obj, Function, priv); | ^~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/function.cpp:1159:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 1159 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, rec, this_obj, Function, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp:1158:37: note: 'context' declared here 1158 | bool Function::to_string(JSContext* context, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool GjsCallbackTrampoline::callback_closure_inner(JSContext*, JS::HandleObject, JS::MutableHandleValue, GIArgument**, GITypeInfo*, int, int, void*)' at ../gi/function.cpp:578:66: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'out_array' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/function.cpp: In member function 'bool GjsCallbackTrampoline::callback_closure_inner(JSContext*, JS::HandleObject, JS::MutableHandleValue, GIArgument**, GITypeInfo*, int, int, void*)': ../gi/function.cpp:578:26: note: 'out_array' declared here 578 | JS::RootedObject out_array(context, rval.toObjectOrNull()); | ^~~~~~~~~ ../gi/function.cpp:447:16: note: 'context' declared here 447 | JSContext* context, JS::HandleObject this_object, | ~~~~~~~~~~~^~~~~~~ [20/110] Compiling C++ object libgjs.so.0.0.0.p/gi_gerror.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/gerror.cpp:12: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ErrorBase::get_domain(JSContext*, unsigned int, JS::Value*)' at ../gi/gerror.cpp:94:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/gerror.cpp:24: ../gi/gerror.cpp: In static member function 'static bool ErrorBase::get_domain(JSContext*, unsigned int, JS::Value*)': ../gi/gerror.cpp:94:48: note: 'obj' declared here 94 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gerror.cpp:94:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 94 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp:93:39: note: 'cx' declared here 93 | bool ErrorBase::get_domain(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ErrorBase::get_code(JSContext*, unsigned int, JS::Value*)' at ../gi/gerror.cpp:111:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In static member function 'static bool ErrorBase::get_code(JSContext*, unsigned int, JS::Value*)': ../gi/gerror.cpp:111:48: note: 'obj' declared here 111 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gerror.cpp:111:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 111 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp:110:37: note: 'cx' declared here 110 | bool ErrorBase::get_code(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ErrorBase::get_message(JSContext*, unsigned int, JS::Value*)' at ../gi/gerror.cpp:101:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In static member function 'static bool ErrorBase::get_message(JSContext*, unsigned int, JS::Value*)': ../gi/gerror.cpp:101:48: note: 'obj' declared here 101 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gerror.cpp:101:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 101 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ErrorBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp:100:40: note: 'cx' declared here 100 | bool ErrorBase::get_message(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ErrorBase::value_of(JSContext*, unsigned int, JS::Value*)' at ../gi/gerror.cpp:158:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'self' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In static member function 'static bool ErrorBase::value_of(JSContext*, unsigned int, JS::Value*)': ../gi/gerror.cpp:158:42: note: 'self' declared here 158 | GJS_GET_THIS(context, argc, vp, rec, self); | ^~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gerror.cpp:157:37: note: 'context' declared here 157 | bool ErrorBase::value_of(JSContext* context, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* ErrorInstance::object_for_c_ptr(JSContext*, GError*)' at ../gi/gerror.cpp:364:78: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In static member function 'static JSObject* ErrorInstance::object_for_c_ptr(JSContext*, GError*)': ../gi/gerror.cpp:363:22: note: 'obj' declared here 363 | JS::RootedObject obj(context, | ^~~ ../gi/gerror.cpp:340:54: note: 'context' declared here 340 | JSObject* ErrorInstance::object_for_c_ptr(JSContext* context, GError* gerror) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_throw_gerror(JSContext*, GError*)' at ../gi/gerror.cpp:485:76: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'err_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In function 'bool gjs_throw_gerror(JSContext*, GError*)': ../gi/gerror.cpp:485:22: note: 'err_obj' declared here 485 | JS::RootedObject err_obj(cx, ErrorInstance::object_for_c_ptr(cx, error)); | ^~~~~~~ ../gi/gerror.cpp:480:34: note: 'cx' declared here 480 | bool gjs_throw_gerror(JSContext* cx, GError* error) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ErrorBase::to_string(JSContext*, unsigned int, JS::Value*)' at ../gi/gerror.cpp:121:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'self' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gerror.cpp: In static member function 'static bool ErrorBase::to_string(JSContext*, unsigned int, JS::Value*)': ../gi/gerror.cpp:121:42: note: 'self' declared here 121 | GJS_GET_THIS(context, argc, vp, rec, self); | ^~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gerror.cpp:120:38: note: 'context' declared here 120 | bool ErrorBase::to_string(JSContext* context, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = ErrorBase; Prototype = ErrorPrototype; Instance = ErrorInstance]' at ../gi/wrapperutils.h:424:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/boxed.h:25, from ../gi/gerror.cpp:25: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = ErrorBase; Prototype = ErrorPrototype; Instance = ErrorInstance]': ../gi/wrapperutils.h:424:26: note: 'obj' declared here 424 | JS::RootedObject obj( | ^~~ ../gi/wrapperutils.h:417:40: note: 'cx' declared here 417 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ [21/110] Compiling C++ object libgjs.so.0.0.0.p/gi_gobject.cpp.o [22/110] Compiling C++ object libgjs.so.0.0.0.p/gi_gtype.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/gtype.cpp:12: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GTypeObj::to_string(JSContext*, unsigned int, JS::Value*)' at ../gi/gtype.cpp:67:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/cwrapper.h:26, from ../gi/gtype.cpp:22: ../gi/gtype.cpp: In static member function 'static bool GTypeObj::to_string(JSContext*, unsigned int, JS::Value*)': ../gi/gtype.cpp:67:41: note: 'obj' declared here 67 | GJS_GET_THIS(cx, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gtype.cpp:66:38: note: 'cx' declared here 66 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GTypeObj::get_name(JSContext*, unsigned int, JS::Value*)' at ../gi/gtype.cpp:55:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gtype.cpp: In static member function 'static bool GTypeObj::get_name(JSContext*, unsigned int, JS::Value*)': ../gi/gtype.cpp:55:42: note: 'obj' declared here 55 | GJS_GET_THIS(cx, argc, vp, args, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/gtype.cpp:54:37: note: 'cx' declared here 54 | static bool get_name(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* GTypeObj::create(JSContext*, GType)' at ../gi/gtype.cpp:164:66, inlined from 'JSObject* gjs_gtype_create_gtype_wrapper(JSContext*, GType)' at ../gi/gtype.cpp:196:28: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/gtype.cpp: In function 'JSObject* gjs_gtype_create_gtype_wrapper(JSContext*, GType)': ../gi/gtype.cpp:164:26: note: 'proto' declared here 164 | JS::RootedObject proto(cx, GTypeObj::create_prototype(cx)); | ^~~~~ ../gi/gtype.cpp:195:53: note: 'context' declared here 195 | JSObject* gjs_gtype_create_gtype_wrapper(JSContext* context, GType gtype) { | ~~~~~~~~~~~^~~~~~~ [23/110] Compiling C++ object libgjs.so.0.0.0.p/gi_ns.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/ns.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool Ns::get_name(JSContext*, unsigned int, JS::Value*)' at ../gi/ns.cpp:129:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'this_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/cwrapper.h:26, from ../gi/ns.cpp:21: ../gi/ns.cpp: In static member function 'static bool Ns::get_name(JSContext*, unsigned int, JS::Value*)': ../gi/ns.cpp:129:52: note: 'this_obj' declared here 129 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, this_obj, Ns, priv); | ^~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/ns.cpp:129:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 129 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, this_obj, Ns, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/ns.cpp:128:37: note: 'cx' declared here 128 | static bool get_name(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* Ns::create(JSContext*, const char*)' at ../gi/ns.cpp:168:60, inlined from 'JSObject* gjs_create_ns(JSContext*, const char*)' at ../gi/ns.cpp:192:22: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/ns.cpp: In function 'JSObject* gjs_create_ns(JSContext*, const char*)': ../gi/ns.cpp:168:26: note: 'proto' declared here 168 | JS::RootedObject proto(cx, Ns::create_prototype(cx)); | ^~~~~ ../gi/ns.cpp:189:29: note: 'context' declared here 189 | gjs_create_ns(JSContext *context, | ~~~~~~~~~~~~~~^~~~~~~ [24/110] Compiling C++ object libgjs.so.0.0.0.p/gi_interface.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from ../gi/interface.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool InterfaceBase::has_instance(JSContext*, unsigned int, JS::Value*)' at ../gi/interface.cpp:80:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'interface_constructor' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/function.h:23, from ../gi/interface.cpp:14: ../gi/interface.cpp: In static member function 'static bool InterfaceBase::has_instance(JSContext*, unsigned int, JS::Value*)': ../gi/interface.cpp:80:38: note: 'interface_constructor' declared here 80 | GJS_GET_THIS(cx, argc, vp, args, interface_constructor); | ^~~~~~~~~~~~~~~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/interface.cpp:79:45: note: 'cx' declared here 79 | bool InterfaceBase::has_instance(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ [25/110] Compiling C++ object libgjs.so.0.0.0.p/gi_param.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/param.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_param_constructor(JSContext*, unsigned int, JS::Value*)' at ../gi/param.cpp:105:67: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'new_object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/param.cpp: In function 'bool gjs_param_constructor(JSContext*, unsigned int, JS::Value*)': ../gi/param.cpp:104:22: note: 'new_object' declared here 104 | JS::RootedObject new_object( | ^~~~~~~~~~ ../gi/param.cpp:96:46: note: 'cx' declared here 96 | static bool gjs_param_constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ [26/110] Compiling C++ object libgjs.so.0.0.0.p/gi_private.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../gi/private.cpp:13: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = InterfaceBase; Prototype = InterfacePrototype; Instance = InterfaceInstance]' at ../gi/wrapperutils.h:468:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/gobject.h:12, from ../gi/private.cpp:22: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = InterfaceBase; Prototype = InterfacePrototype; Instance = InterfaceInstance]': ../gi/wrapperutils.h:468:52: note: 'obj' declared here 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/wrapperutils.h:468:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/interface.h:21, from ../gi/private.cpp:24: ../gi/wrapperutils.h:467:38: note: 'cx' declared here 467 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_register_interface(JSContext*, unsigned int, JS::Value*)' at ../gi/private.cpp:222:65: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'module' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/private.cpp: In function 'bool gjs_register_interface(JSContext*, unsigned int, JS::Value*)': ../gi/private.cpp:222:22: note: 'module' declared here 222 | JS::RootedObject module(cx, gjs_lookup_private_namespace(cx)); | ^~~~~~ ../gi/private.cpp:179:47: note: 'cx' declared here 179 | static bool gjs_register_interface(JSContext* cx, unsigned argc, | ~~~~~~~~~~~^~ [27/110] Compiling C++ object libgjs.so.0.0.0.p/gi_object.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/object.cpp:25: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::to_string(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:2335:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/object.cpp:43: ../gi/object.cpp: In static member function 'static bool ObjectBase::to_string(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:2335:48: note: 'obj' declared here 2335 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2335:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2335 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2334:39: note: 'cx' declared here 2334 | bool ObjectBase::to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::signal_find(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:2210:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::signal_find(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:2210:48: note: 'obj' declared here 2210 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2210:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2210 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2209:41: note: 'cx' declared here 2209 | bool ObjectBase::signal_find(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::hook_up_vfunc(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:2702:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'prototype' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::hook_up_vfunc(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:2702:48: note: 'prototype' declared here 2702 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, prototype, ObjectBase, priv); | ^~~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2702:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2702 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, prototype, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2701:43: note: 'cx' declared here 2701 | bool ObjectBase::hook_up_vfunc(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'JSObject* gjs_lookup_object_constructor_from_info(JSContext*, GIObjectInfo*, GType)' at ../gi/object.cpp:1852:41: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'constructor' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In function 'JSObject* gjs_lookup_object_constructor_from_info(JSContext*, GIObjectInfo*, GType)': ../gi/object.cpp:1852:22: note: 'constructor' declared here 1852 | JS::RootedObject constructor(context); | ^~~~~~~~~~~ ../gi/object.cpp:1827:62: note: 'context' declared here 1827 | JSObject* gjs_lookup_object_constructor_from_info(JSContext* context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_lookup_object_prototype_from_info(JSContext*, GIObjectInfo*, GType)' at ../gi/object.cpp:1880:70: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'constructor' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In function 'JSObject* gjs_lookup_object_prototype_from_info(JSContext*, GIObjectInfo*, GType)': ../gi/object.cpp:1879:22: note: 'constructor' declared here 1879 | JS::RootedObject constructor(context, | ^~~~~~~~~~~ ../gi/object.cpp:1875:53: note: 'context' declared here 1875 | gjs_lookup_object_prototype_from_info(JSContext *context, | ~~~~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static ObjectInstance* ObjectInstance::new_for_gobject(JSContext*, GObject*)' at ../gi/object.cpp:2521:70: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static ObjectInstance* ObjectInstance::new_for_gobject(JSContext*, GObject*)': ../gi/object.cpp:2521:22: note: 'proto' declared here 2521 | JS::RootedObject proto(cx, gjs_lookup_object_prototype(cx, gtype)); | ^~~~~ ../gi/object.cpp:2513:60: note: 'cx' declared here 2513 | ObjectInstance* ObjectInstance::new_for_gobject(JSContext* cx, GObject* gobj) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = ObjectBase; Prototype = ObjectPrototype; Instance = ObjectInstance]' at ../gi/wrapperutils.h:424:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/object.h:30, from ../gi/object.cpp:49: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = ObjectBase; Prototype = ObjectPrototype; Instance = ObjectInstance]': ../gi/wrapperutils.h:424:26: note: 'obj' declared here 424 | JS::RootedObject obj( | ^~~ ../gi/wrapperutils.h:417:40: note: 'cx' declared here 417 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::connect(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:1963:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::connect(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:1963:48: note: 'obj' declared here 1963 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:1963:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 1963 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:1962:37: note: 'cx' declared here 1962 | bool ObjectBase::connect(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::connect_after(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:1971:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::connect_after(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:1971:48: note: 'obj' declared here 1971 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:1971:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 1971 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:1970:43: note: 'cx' declared here 1970 | bool ObjectBase::connect_after(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::emit(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:2034:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::emit(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:2034:48: note: 'obj' declared here 2034 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2034:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2034 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2033:34: note: 'cx' declared here 2033 | bool ObjectBase::emit(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_block_matched]' at ../gi/object.cpp:2281:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_block_matched]': ../gi/object.cpp:2281:48: note: 'obj' declared here 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2281:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2280:44: note: 'cx' declared here 2280 | bool ObjectBase::signals_action(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_disconnect_matched]' at ../gi/object.cpp:2281:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_disconnect_matched]': ../gi/object.cpp:2281:48: note: 'obj' declared here 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2281:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2280:44: note: 'cx' declared here 2280 | bool ObjectBase::signals_action(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_unblock_matched]' at ../gi/object.cpp:2281:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::signals_action(JSContext*, unsigned int, JS::Value*) [with guint (* MATCH_FUNC)(gpointer, GSignalMatchType, guint, GQuark, GClosure*, gpointer, gpointer) = g_signal_handlers_unblock_matched]': ../gi/object.cpp:2281:48: note: 'obj' declared here 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2281:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2281 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2280:44: note: 'cx' declared here 2280 | bool ObjectBase::signals_action(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::field_getter(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:411:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::field_getter(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:411:48: note: 'obj' declared here 411 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:411:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 411 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:410:42: note: 'cx' declared here 410 | bool ObjectBase::field_getter(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::field_setter(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:537:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::field_setter(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:537:48: note: 'obj' declared here 537 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:537:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 537 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:536:42: note: 'cx' declared here 536 | bool ObjectBase::field_setter(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::prop_getter(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:334:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::prop_getter(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:334:48: note: 'obj' declared here 334 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:334:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 334 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:333:41: note: 'cx' declared here 333 | bool ObjectBase::prop_getter(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::prop_setter(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:477:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::prop_setter(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:477:48: note: 'obj' declared here 477 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:477:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 477 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:476:41: note: 'cx' declared here 476 | bool ObjectBase::prop_setter(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool ObjectBase::init_gobject(JSContext*, unsigned int, JS::Value*)' at ../gi/object.cpp:2367:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp: In static member function 'static bool ObjectBase::init_gobject(JSContext*, unsigned int, JS::Value*)': ../gi/object.cpp:2367:53: note: 'obj' declared here 2367 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, argv, obj, ObjectBase, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/object.cpp:2367:5: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 2367 | GJS_CHECK_WRAPPER_PRIV(context, argc, vp, argv, obj, ObjectBase, priv); | ^~~~~~~~~~~~~~~~~~~~~~ ../gi/object.cpp:2365:42: note: 'context' declared here 2365 | bool ObjectBase::init_gobject(JSContext* context, unsigned argc, | ~~~~~~~~~~~^~~~~~~ [28/110] Compiling C++ object libgjs.so.0.0.0.p/gi_repo.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from ../gi/repo.cpp:18: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = InterfaceBase; Prototype = InterfacePrototype; Instance = InterfaceInstance]' at ../gi/wrapperutils.h:468:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/cwrapper.h:26, from ../gi/boxed.h:24, from ../gi/repo.cpp:31: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = InterfaceBase; Prototype = InterfacePrototype; Instance = InterfaceInstance]': ../gi/wrapperutils.h:468:52: note: 'obj' declared here 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/wrapperutils.h:468:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/boxed.h:25: ../gi/wrapperutils.h:467:38: note: 'cx' declared here 467 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* repo_new(JSContext*)' at ../gi/repo.cpp:199:74, inlined from 'bool gjs_define_repo(JSContext*, JS::MutableHandleObject)' at ../gi/repo.cpp:238:22: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'repo' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/repo.cpp: In function 'bool gjs_define_repo(JSContext*, JS::MutableHandleObject)': ../gi/repo.cpp:199:22: note: 'repo' declared here 199 | JS::RootedObject repo(context, JS_NewObject(context, &gjs_repo_class)); | ^~~~ ../gi/repo.cpp:235:41: note: 'cx' declared here 235 | gjs_define_repo(JSContext *cx, | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::PropertyKey]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::PropertyKey; T = JS::PropertyKey]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_lookup_namespace_object(JSContext*, GIBaseInfo*)' at ../gi/repo.cpp:479:71: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'ns_name' in '((JS::Rooted**)context)[11]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/repo.cpp: In function 'JSObject* gjs_lookup_namespace_object(JSContext*, GIBaseInfo*)': ../gi/repo.cpp:479:18: note: 'ns_name' declared here 479 | JS::RootedId ns_name(context, gjs_intern_string_to_id(context, ns)); | ^~~~~~~ ../gi/repo.cpp:465:41: note: 'context' declared here 465 | gjs_lookup_namespace_object(JSContext *context, | ~~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_lookup_generic_prototype(JSContext*, GIBaseInfo*)' at ../gi/repo.cpp:698:79: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'constructor' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/repo.cpp: In function 'JSObject* gjs_lookup_generic_prototype(JSContext*, GIBaseInfo*)': ../gi/repo.cpp:697:22: note: 'constructor' declared here 697 | JS::RootedObject constructor(context, | ^~~~~~~~~~~ ../gi/repo.cpp:694:42: note: 'context' declared here 694 | gjs_lookup_generic_prototype(JSContext *context, | ~~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_new_object_with_generic_prototype(JSContext*, GIBaseInfo*)' at ../gi/repo.cpp:719:70: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/repo.cpp: In function 'JSObject* gjs_new_object_with_generic_prototype(JSContext*, GIBaseInfo*)': ../gi/repo.cpp:719:22: note: 'proto' declared here 719 | JS::RootedObject proto(cx, gjs_lookup_generic_prototype(cx, info)); | ^~~~~ ../gi/repo.cpp:717:60: note: 'cx' declared here 717 | JSObject* gjs_new_object_with_generic_prototype(JSContext* cx, | ~~~~~~~~~~~^~ [29/110] Compiling C++ object libgjs.so.0.0.0.p/gi_toggle.cpp.o [30/110] Compiling C++ object libgjs.so.0.0.0.p/gi_union.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gi/union.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = UnionBase; Prototype = UnionPrototype; Instance = UnionInstance]' at ../gi/wrapperutils.h:468:9: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/union.cpp:17: ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::to_string(JSContext*, unsigned int, JS::Value*) [with Base = UnionBase; Prototype = UnionPrototype; Instance = UnionInstance]': ../gi/wrapperutils.h:468:52: note: 'obj' declared here 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gi/wrapperutils.h:468:9: note: in expansion of macro 'GJS_CHECK_WRAPPER_PRIV' 468 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, Base, priv); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/union.h:16, from ../gi/union.cpp:20: ../gi/wrapperutils.h:467:38: note: 'cx' declared here 467 | static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_union_from_c_union(JSContext*, GIUnionInfo*, void*)' at ../gi/union.cpp:201:78: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/union.cpp: In function 'JSObject* gjs_union_from_c_union(JSContext*, GIUnionInfo*, void*)': ../gi/union.cpp:200:22: note: 'obj' declared here 200 | JS::RootedObject obj(context, | ^~~ ../gi/union.cpp:178:38: note: 'context' declared here 178 | gjs_union_from_c_union(JSContext *context, | ~~~~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = UnionBase; Prototype = UnionPrototype; Instance = UnionInstance]' at ../gi/wrapperutils.h:424:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/wrapperutils.h: In static member function 'static bool GIWrapperBase::constructor(JSContext*, unsigned int, JS::Value*) [with Base = UnionBase; Prototype = UnionPrototype; Instance = UnionInstance]': ../gi/wrapperutils.h:424:26: note: 'obj' declared here 424 | JS::RootedObject obj( | ^~~ ../gi/wrapperutils.h:417:40: note: 'cx' declared here 417 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ [31/110] Compiling C++ object libgjs.so.0.0.0.p/gi_wrapperutils.cpp.o [32/110] Compiling C++ object libgjs.so.0.0.0.p/gi_value.cpp.o [33/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_atoms.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Id.h:30, from ../gjs/atoms.cpp:11: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSString*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSString*; T = JSString*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool GjsSymbolAtom::init(JSContext*, const char*)' at ../gjs/atoms.cpp:35:63: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'descr' in '((JS::Rooted**)cx)[7]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/atoms.cpp: In member function 'bool GjsSymbolAtom::init(JSContext*, const char*)': ../gjs/atoms.cpp:35:22: note: 'descr' declared here 35 | JS::RootedString descr(cx, JS_AtomizeAndPinString(cx, str)); | ^~~~~ ../gjs/atoms.cpp:34:37: note: 'cx' declared here 34 | bool GjsSymbolAtom::init(JSContext* cx, const char* str) { | ~~~~~~~~~~~^~ [34/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_byteArray.cpp.o In file included from /opt/pkg/include/mozjs-78/js/ArrayBuffer.h:17, from ../gjs/byteArray.cpp:14: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool from_gbytes_func(JSContext*, unsigned int, JS::Value*)' at ../gjs/byteArray.cpp:361:45: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'array_buffer' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/byteArray.cpp: In function 'bool from_gbytes_func(JSContext*, unsigned int, JS::Value*)': ../gjs/byteArray.cpp:356:22: note: 'array_buffer' declared here 356 | JS::RootedObject array_buffer( | ^~~~~~~~~~~~ ../gjs/byteArray.cpp:326:29: note: 'context' declared here 326 | from_gbytes_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool from_string_func(JSContext*, unsigned int, JS::Value*)' at ../gjs/byteArray.cpp:301:79: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'empty_array' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/byteArray.cpp: In function 'bool from_string_func(JSContext*, unsigned int, JS::Value*)': ../gjs/byteArray.cpp:301:30: note: 'empty_array' declared here 301 | JS::RootedObject empty_array(context, JS_NewUint8Array(context, 0)); | ^~~~~~~~~~~ ../gjs/byteArray.cpp:227:29: note: 'context' declared here 227 | from_string_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool instance_to_string_func(JSContext*, unsigned int, JS::Value*)' at ../gjs/byteArray.cpp:170:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'this_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/cwrapper.h:26, from ../gi/boxed.h:24, from ../gjs/byteArray.cpp:24: ../gjs/byteArray.cpp: In function 'bool instance_to_string_func(JSContext*, unsigned int, JS::Value*)': ../gjs/byteArray.cpp:170:38: note: 'this_obj' declared here 170 | GJS_GET_THIS(cx, argc, vp, args, this_obj); | ^~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gjs/byteArray.cpp:168:48: note: 'cx' declared here 168 | static bool instance_to_string_func(JSContext* cx, unsigned argc, | ~~~~~~~~~~~^~ [35/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_coverage.cpp.o [36/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_context.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gjs/context.cpp:36: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool GjsContextPrivate::eval_with_scope(JS::HandleObject, const char*, ssize_t, const char*, JS::MutableHandleValue)' at ../gjs/context.cpp:1313:75: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'priv' in '((JS::Rooted**)MEM[(struct JSContext * const &)this_26(D) + 16])[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/context.cpp: In member function 'bool GjsContextPrivate::eval_with_scope(JS::HandleObject, const char*, ssize_t, const char*, JS::MutableHandleValue)': ../gjs/context.cpp:1313:22: note: 'priv' declared here 1313 | JS::RootedObject priv(m_cx, gjs_script_module_build_private(m_cx, uri)); | ^~~~ ../gjs/context.cpp:1282:70: note: 'this' declared here 1282 | JS::MutableHandleValue retval) { | ^ [37/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_debugger.cpp.o [38/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_deprecation.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Conversions.h:26, from ../gjs/deprecation.cpp:17: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSString*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSString*; T = JSString*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::UniqueChars get_callsite(JSContext*)' at ../gjs/deprecation.cpp:84:64, inlined from 'void _gjs_warn_deprecated_once_per_callsite(JSContext*, GjsDeprecationMessageId)' at ../gjs/deprecation.cpp:96:46: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'frame_string' in '((JS::Rooted**)cx)[7]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/deprecation.cpp: In function 'void _gjs_warn_deprecated_once_per_callsite(JSContext*, GjsDeprecationMessageId)': ../gjs/deprecation.cpp:84:22: note: 'frame_string' declared here 84 | JS::RootedString frame_string(cx, JS::ToString(cx, v_frame)); | ^~~~~~~~~~~~ ../gjs/deprecation.cpp:94:56: note: 'cx' declared here 94 | void _gjs_warn_deprecated_once_per_callsite(JSContext* cx, | ~~~~~~~~~~~^~ [39/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_error-types.cpp.o [40/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_engine.cpp.o [41/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_global.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gjs/global.cpp:14: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool GjsGlobal::define_properties(JSContext*, JS::HandleObject, const char*, const char*)' at ../gjs/global.cpp:184:66: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'native_registry' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/global.cpp: In static member function 'static bool GjsGlobal::define_properties(JSContext*, JS::HandleObject, const char*, const char*)': ../gjs/global.cpp:184:26: note: 'native_registry' declared here 184 | JS::RootedObject native_registry(cx, JS::NewMapObject(cx)); | ^~~~~~~~~~~~~~~ ../gjs/global.cpp:169:46: note: 'cx' declared here 169 | static bool define_properties(JSContext* cx, JS::HandleObject global, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* GjsBaseGlobal::base(JSContext*, const JSClass*, JS::RealmCreationOptions)' at ../gjs/global.cpp:50:56, inlined from 'static JSObject* GjsBaseGlobal::create_with_compartment(JSContext*, JS::HandleObject, const JSClass*, JS::RealmCreationOptions)' at ../gjs/global.cpp:76:20, inlined from 'static JSObject* GjsGlobal::create_with_compartment(JSContext*, JS::HandleObject)' at ../gjs/global.cpp:165:54, inlined from 'JSObject* gjs_create_global_object(JSContext*, GjsGlobalType, JS::HandleObject)' at ../gjs/global.cpp:342:58: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'global' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/global.cpp: In function 'JSObject* gjs_create_global_object(JSContext*, GjsGlobalType, JS::HandleObject)': ../gjs/global.cpp:48:26: note: 'global' declared here 48 | JS::RootedObject global( | ^~~~~~ ../gjs/global.cpp:337:47: note: 'cx' declared here 337 | JSObject* gjs_create_global_object(JSContext* cx, GjsGlobalType global_type, | ~~~~~~~~~~~^~ [42/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_importer.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../gjs/importer.cpp:22: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* load_module_init(JSContext*, JS::HandleObject, GFile*)' at ../gjs/importer.cpp:352:58: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'module_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/importer.cpp: In function 'JSObject* load_module_init(JSContext*, JS::HandleObject, GFile*)': ../gjs/importer.cpp:352:22: note: 'module_obj' declared here 352 | JS::RootedObject module_obj(cx, JS_NewPlainObject(cx)); | ^~~~~~~~~~ ../gjs/importer.cpp:330:46: note: 'cx' declared here 330 | static JSObject* load_module_init(JSContext* cx, JS::HandleObject in_object, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool importer_to_string(JSContext*, unsigned int, JS::Value*)' at ../gjs/importer.cpp:62:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'importer' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gjs/context-private.h:35, from ../gjs/importer.cpp:40: ../gjs/importer.cpp: In function 'bool importer_to_string(JSContext*, unsigned int, JS::Value*)': ../gjs/importer.cpp:62:38: note: 'importer' declared here 62 | GJS_GET_THIS(cx, argc, vp, args, importer); | ^~~~~~~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../gjs/importer.cpp:58:31: note: 'cx' declared here 58 | importer_to_string(JSContext *cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::PropertyKey]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::PropertyKey; T = JS::PropertyKey]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_import_native_module(JSContext*, JS::HandleObject, const char*)' at ../gjs/importer.cpp:278:64: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'id' in '((JS::Rooted**)cx)[11]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/importer.cpp: In function 'bool gjs_import_native_module(JSContext*, JS::HandleObject, const char*)': ../gjs/importer.cpp:278:18: note: 'id' declared here 278 | JS::RootedId id(cx, gjs_intern_string_to_id(cx, parse_name)); | ^~ ../gjs/importer.cpp:269:43: note: 'cx' declared here 269 | gjs_import_native_module(JSContext *cx, | ~~~~~~~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool load_module_elements(JSContext*, JS::HandleObject, JS::MutableHandleIdVector, GFile*)' at ../gjs/importer.cpp:372:74, inlined from 'bool importer_new_enumerate(JSContext*, JS::HandleObject, JS::MutableHandleIdVector, bool)' at ../gjs/importer.cpp:661:34: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'module_obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/importer.cpp: In function 'bool importer_new_enumerate(JSContext*, JS::HandleObject, JS::MutableHandleIdVector, bool)': ../gjs/importer.cpp:372:22: note: 'module_obj' declared here 372 | JS::RootedObject module_obj(cx, load_module_init(cx, in_object, file)); | ^~~~~~~~~~ ../gjs/importer.cpp:607:47: note: 'context' declared here 607 | static bool importer_new_enumerate(JSContext* context, JS::HandleObject object, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_create_importer(JSContext*, const char*, const std::vector >&, bool, JS::HandleObject)' at ../gjs/importer.cpp:875:71: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/importer.cpp: In function 'JSObject* gjs_create_importer(JSContext*, const char*, const std::vector >&, bool, JS::HandleObject)': ../gjs/importer.cpp:875:22: note: 'proto' declared here 875 | JS::RootedObject proto(context, gjs_importer_define_proto(context)); | ^~~~~ ../gjs/importer.cpp:864:16: note: 'context' declared here 864 | JSContext* context, const char* importer_name, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool import_symbol_from_init_js(JSContext*, JS::HandleObject, GFile*, const char*, bool*)' at ../gjs/importer.cpp:399:73, inlined from 'bool do_import(JSContext*, JS::HandleObject, JS::HandleId)' at ../gjs/importer.cpp:537:40, inlined from 'bool importer_resolve(JSContext*, JS::HandleObject, JS::HandleId, bool*)' at ../gjs/importer.cpp:741:19: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'module_obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/importer.cpp: In function 'bool importer_resolve(JSContext*, JS::HandleObject, JS::HandleId, bool*)': ../gjs/importer.cpp:399:22: note: 'module_obj' declared here 399 | JS::RootedObject module_obj(cx, load_module_init(cx, importer, file)); | ^~~~~~~~~~ ../gjs/importer.cpp:716:36: note: 'context' declared here 716 | importer_resolve(JSContext *context, | ~~~~~~~~~~~~~~~~~~^~~~~~~ [43/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_mem.cpp.o [44/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_internal.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/jsapi.h:31, from ../gjs/internal.h:10, from ../gjs/internal.cpp:4: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_internal_parse_uri(JSContext*, unsigned int, JS::Value*)' at ../gjs/internal.cpp:304:57: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'query_obj' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/internal.cpp: In function 'bool gjs_internal_parse_uri(JSContext*, unsigned int, JS::Value*)': ../gjs/internal.cpp:304:22: note: 'query_obj' declared here 304 | JS::RootedObject query_obj(cx, JS_NewPlainObject(cx)); | ^~~~~~~~~ ../gjs/internal.cpp:279:40: note: 'cx' declared here 279 | bool gjs_internal_parse_uri(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_internal_load_resource_or_file_async(JSContext*, unsigned int, JS::Value*)' at ../gjs/internal.cpp:600:71: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'executor' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/internal.cpp: In function 'bool gjs_internal_load_resource_or_file_async(JSContext*, unsigned int, JS::Value*)': ../gjs/internal.cpp:597:22: note: 'executor' declared here 597 | JS::RootedObject executor(cx, | ^~~~~~~~ ../gjs/internal.cpp:583:58: note: 'cx' declared here 583 | bool gjs_internal_load_resource_or_file_async(JSContext* cx, unsigned argc, | ~~~~~~~~~~~^~ [45/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_native.cpp.o [46/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_module.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../gjs/module.cpp:16: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSString*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSString*; T = JSString*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JSObject* gjs_module_load(JSContext*, const char*, const char*)' at ../gjs/module.cpp:363:64: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'id' in '((JS::Rooted**)cx)[7]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/module.cpp: In function 'JSObject* gjs_module_load(JSContext*, const char*, const char*)': ../gjs/module.cpp:363:22: note: 'id' declared here 363 | JS::RootedString id(cx, JS_NewStringCopyUTF8Z(cx, id_chars)); | ^~ ../gjs/module.cpp:348:38: note: 'cx' declared here 348 | JSObject* gjs_module_load(JSContext* cx, const char* identifier, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool GjsScriptModule::resolve_impl(JSContext*, JS::HandleObject, JS::HandleId, bool*)' at ../gjs/module.cpp:164:77: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'lexical' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/module.cpp: In member function 'bool GjsScriptModule::resolve_impl(JSContext*, JS::HandleObject, JS::HandleId, bool*)': ../gjs/module.cpp:164:26: note: 'lexical' declared here 164 | JS::RootedObject lexical(cx, JS_ExtensibleLexicalEnvironment(module)); | ^~~~~~~ ../gjs/module.cpp:159:35: note: 'cx' declared here 159 | resolve_impl(JSContext *cx, | ~~~~~~~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* GjsScriptModule::import(JSContext*, JS::HandleObject, JS::HandleId, const char*, GFile*)' at ../gjs/module.cpp:247:70, inlined from 'JSObject* gjs_module_import(JSContext*, JS::HandleObject, JS::HandleId, const char*, GFile*)' at ../gjs/module.cpp:295:35: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'module' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gjs/module.cpp: In function 'JSObject* gjs_module_import(JSContext*, JS::HandleObject, JS::HandleId, const char*, GFile*)': ../gjs/module.cpp:247:26: note: 'module' declared here 247 | JS::RootedObject module(cx, GjsScriptModule::create(cx, name)); | ^~~~~~ ../gjs/module.cpp:289:36: note: 'cx' declared here 289 | gjs_module_import(JSContext *cx, | ~~~~~~~~~~~~~~~~~^~ [47/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_profiler.cpp.o [48/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_objectbox.cpp.o [49/110] Compiling C++ object libgjs.so.0.0.0.p/gjs_stack.cpp.o [50/110] Compiling C++ object libgjs.so.0.0.0.p/modules_console.cpp.o [51/110] Compiling C++ object libgjs.so.0.0.0.p/modules_modules.cpp.o [52/110] Compiling C++ object libgjs.so.0.0.0.p/modules_print.cpp.o [53/110] Compiling C++ object libgjs.so.0.0.0.p/modules_system.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/system.cpp:16: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'bool gjs_js_define_system_stuff(JSContext*, JS::MutableHandleObject)' at ../modules/system.cpp:243:75: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'program_args_getter' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/system.cpp: In function 'bool gjs_js_define_system_stuff(JSContext*, JS::MutableHandleObject)': ../modules/system.cpp:240:22: note: 'program_args_getter' declared here 240 | JS::RootedObject program_args_getter( | ^~~~~~~~~~~~~~~~~~~ ../modules/system.cpp:221:52: note: 'context' declared here 221 | gjs_js_define_system_stuff(JSContext *context, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [54/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-region.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-region.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool num_rectangles_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:160:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../modules/cairo-region.cpp:19: ../modules/cairo-region.cpp: In function 'bool num_rectangles_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:160:5: note: in expansion of macro 'PRELUDE' 160 | PRELUDE; | ^~~~~~~ ../modules/cairo-region.cpp:156:32: note: 'context' declared here 156 | num_rectangles_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool xor_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:85:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool xor_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:49:9: note: in expansion of macro 'PRELUDE' 49 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:85:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 85 | REGION_DEFINE_REGION_FUNC(xor) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:47:42: note: 'context' declared here 47 | static bool method##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:85:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 85 | REGION_DEFINE_REGION_FUNC(xor) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool intersect_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:84:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool intersect_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:49:9: note: in expansion of macro 'PRELUDE' 49 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:84:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 84 | REGION_DEFINE_REGION_FUNC(intersect) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:47:42: note: 'context' declared here 47 | static bool method##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:84:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 84 | REGION_DEFINE_REGION_FUNC(intersect) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool subtract_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:83:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool subtract_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:49:9: note: in expansion of macro 'PRELUDE' 49 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:83:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 83 | REGION_DEFINE_REGION_FUNC(subtract) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:47:42: note: 'context' declared here 47 | static bool method##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:83:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 83 | REGION_DEFINE_REGION_FUNC(subtract) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool union_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:82:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool union_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:49:9: note: in expansion of macro 'PRELUDE' 49 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:82:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 82 | REGION_DEFINE_REGION_FUNC(union) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:47:42: note: 'context' declared here 47 | static bool method##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:82:1: note: in expansion of macro 'REGION_DEFINE_REGION_FUNC' 82 | REGION_DEFINE_REGION_FUNC(union) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool get_rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:177:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool get_rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:177:5: note: in expansion of macro 'PRELUDE' 177 | PRELUDE; | ^~~~~~~ ../modules/cairo-region.cpp:173:31: note: 'context' declared here 173 | get_rectangle_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool xor_rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:90:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool xor_rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:67:9: note: in expansion of macro 'PRELUDE' 67 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:90:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 90 | REGION_DEFINE_RECT_FUNC(xor) | ^~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:65:52: note: 'context' declared here 65 | static bool method##_rectangle_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:90:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 90 | REGION_DEFINE_RECT_FUNC(xor) | ^~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool intersect_rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:89:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool intersect_rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:67:9: note: in expansion of macro 'PRELUDE' 67 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:89:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 89 | REGION_DEFINE_RECT_FUNC(intersect) | ^~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:65:52: note: 'context' declared here 65 | static bool method##_rectangle_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:89:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 89 | REGION_DEFINE_RECT_FUNC(intersect) | ^~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool subtract_rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:88:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool subtract_rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:67:9: note: in expansion of macro 'PRELUDE' 67 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:88:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 88 | REGION_DEFINE_RECT_FUNC(subtract) | ^~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:65:52: note: 'context' declared here 65 | static bool method##_rectangle_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:88:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 88 | REGION_DEFINE_RECT_FUNC(subtract) | ^~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool union_rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-region.cpp:87:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp: In function 'bool union_rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-region.cpp:37:43: note: 'obj' declared here 37 | GJS_GET_THIS(context, argc, vp, argv, obj); \ | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-region.cpp:67:9: note: in expansion of macro 'PRELUDE' 67 | PRELUDE; \ | ^~~~~~~ ../modules/cairo-region.cpp:87:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 87 | REGION_DEFINE_RECT_FUNC(union) | ^~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-region.cpp:65:52: note: 'context' declared here 65 | static bool method##_rectangle_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-region.cpp:87:1: note: in expansion of macro 'REGION_DEFINE_RECT_FUNC' 87 | REGION_DEFINE_RECT_FUNC(union) | ^~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoRegion; Wrapped = _cairo_region]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-private.h:21, from ../modules/cairo-region.cpp:28: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoRegion; Wrapped = _cairo_region]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ [55/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-path.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from /opt/pkg/include/mozjs-78/js/Class.h:16, from /opt/pkg/include/mozjs-78/js/PropertyDescriptor.h:17, from ../modules/cairo-path.cpp:12: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CairoPath::take_c_ptr(JSContext*, cairo_path_t*)' at ../modules/cairo-path.cpp:38:56: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-path.cpp: In static member function 'static JSObject* CairoPath::take_c_ptr(JSContext*, cairo_path_t*)': ../modules/cairo-path.cpp:38:22: note: 'proto' declared here 38 | JS::RootedObject proto(cx, CairoPath::prototype(cx)); | ^~~~~ ../modules/cairo-path.cpp:37:44: note: 'cx' declared here 37 | JSObject* CairoPath::take_c_ptr(JSContext* cx, cairo_path_t* ptr) { | ~~~~~~~~~~~^~ [56/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-context.cpp.o In file included from /opt/pkg/include/mozjs-78/js/Array.h:16, from ../modules/cairo-context.cpp:13: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setDash_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:514:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../modules/cairo-context.cpp:26: ../modules/cairo-context.cpp: In function 'bool setDash_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:514:69: note: 'obj' declared here 514 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:514:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 514 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:510:25: note: 'context' declared here 510 | setDash_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool dispose_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:375:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool dispose_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:375:68: note: 'obj' declared here 375 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:375:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 375 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:371:25: note: 'context' declared here 371 | dispose_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool strokePreserve_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:363:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool strokePreserve_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:363:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 363 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(strokePreserve, cairo_stroke_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:363:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 363 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(strokePreserve, cairo_stroke_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool stroke_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:362:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool stroke_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:362:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 362 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(stroke, cairo_stroke) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:362:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 362 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(stroke, cairo_stroke) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool showPage_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:361:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool showPage_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:361:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 361 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(showPage, cairo_show_page) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:361:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 361 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(showPage, cairo_show_page) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool save_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:346:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool save_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:346:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 346 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(save, cairo_save) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:346:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 346 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(save, cairo_save) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool restore_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:344:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool restore_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:344:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 344 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(restore, cairo_restore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:344:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 344 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(restore, cairo_restore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool resetClip_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:343:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool resetClip_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:343:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 343 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(resetClip, cairo_reset_clip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:343:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 343 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(resetClip, cairo_reset_clip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool pushGroup_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:332:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool pushGroup_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:332:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 332 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(pushGroup, cairo_push_group) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:332:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 332 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(pushGroup, cairo_push_group) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool popGroupToSource_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:335:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool popGroupToSource_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:335:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 335 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(popGroupToSource, cairo_pop_group_to_source) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:335:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 335 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(popGroupToSource, cairo_pop_group_to_source) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool paint_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:329:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool paint_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:329:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 329 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(paint, cairo_paint) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:329:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 329 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(paint, cairo_paint) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool newSubPath_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:328:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool newSubPath_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:328:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 328 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(newSubPath, cairo_new_sub_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:328:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 328 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(newSubPath, cairo_new_sub_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool newPath_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:327:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool newPath_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:327:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 327 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(newPath, cairo_new_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:327:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 327 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(newPath, cairo_new_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool identityMatrix_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:322:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool identityMatrix_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:322:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 322 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(identityMatrix, cairo_identity_matrix) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:322:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 322 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(identityMatrix, cairo_identity_matrix) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool fillPreserve_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:309:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool fillPreserve_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:309:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 309 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(fillPreserve, cairo_fill_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:309:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 309 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(fillPreserve, cairo_fill_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool fill_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:308:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool fill_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:308:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 308 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(fill, cairo_fill) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:308:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 308 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(fill, cairo_fill) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool copyPage_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:305:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool copyPage_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:305:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 305 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(copyPage, cairo_copy_page) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:305:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 305 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(copyPage, cairo_copy_page) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool closePath_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:304:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool closePath_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:304:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 304 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(closePath, cairo_close_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:304:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 304 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(closePath, cairo_close_path) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool clipPreserve_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:302:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool clipPreserve_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:302:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 302 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(clipPreserve, cairo_clip_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:302:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 302 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(clipPreserve, cairo_clip_preserve) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool clip_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:301:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool clip_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:301:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 301 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(clip, cairo_clip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:66:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 66 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:301:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0' 301 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0(clip, cairo_clip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getOperator_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:319:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getOperator_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:319:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 319 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getOperator, cairo_get_operator) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:319:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 319 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getOperator, cairo_get_operator) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getLineJoin_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:316:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getLineJoin_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:316:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 316 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getLineJoin, cairo_get_line_join) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:316:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 316 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getLineJoin, cairo_get_line_join) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getLineCap_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:315:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getLineCap_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:315:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 315 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getLineCap, cairo_get_line_cap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:315:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 315 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getLineCap, cairo_get_line_cap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getFillRule_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:314:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getFillRule_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:314:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 314 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getFillRule, cairo_get_fill_rule) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:314:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 314 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getFillRule, cairo_get_fill_rule) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getDashCount_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:313:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getDashCount_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:313:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 313 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getDashCount, cairo_get_dash_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:313:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 313 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getDashCount, cairo_get_dash_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getAntialias_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:311:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getAntialias_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:311:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 311 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getAntialias, cairo_get_antialias) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:72:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 72 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:311:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0I' 311 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0I(getAntialias, cairo_get_antialias) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool hasCurrentPoint_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:321:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool hasCurrentPoint_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:80:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 80 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:321:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0B' 321 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0B(hasCurrentPoint, cairo_has_current_point) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:80:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 80 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:321:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0B' 321 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0B(hasCurrentPoint, cairo_has_current_point) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setTolerance_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:356:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setTolerance_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:356:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 356 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setTolerance, cairo_set_tolerance, "f", double, tolerance) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:356:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 356 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setTolerance, cairo_set_tolerance, "f", double, tolerance) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setMiterLimit_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:354:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setMiterLimit_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:354:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 354 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setMiterLimit, cairo_set_miter_limit, "f", double, limit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:354:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 354 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setMiterLimit, cairo_set_miter_limit, "f", double, limit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setLineWidth_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:353:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setLineWidth_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:353:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 353 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineWidth, cairo_set_line_width, "f", double, width) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:353:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 353 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineWidth, cairo_set_line_width, "f", double, width) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setFontSize_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:350:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setFontSize_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:350:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 350 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setFontSize, cairo_set_font_size, "f", double, size) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:350:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 350 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setFontSize, cairo_set_font_size, "f", double, size) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool rotate_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:345:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool rotate_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:345:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 345 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(rotate, cairo_rotate, "f", double, angle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:345:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 345 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(rotate, cairo_rotate, "f", double, angle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool paintWithAlpha_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:330:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool paintWithAlpha_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:330:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 330 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(paintWithAlpha, cairo_paint_with_alpha, "f", double, alpha) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:330:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 330 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(paintWithAlpha, cairo_paint_with_alpha, "f", double, alpha) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getTarget_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:746:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getTarget_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:746:68: note: 'obj' declared here 746 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:746:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 746 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:742:27: note: 'context' declared here 742 | getTarget_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getGroupTarget_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:777:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getGroupTarget_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:777:68: note: 'obj' declared here 777 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:777:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 777 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:773:32: note: 'context' declared here 773 | getGroupTarget_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool translate_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:365:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool translate_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:365:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 365 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(translate, cairo_translate, "ff", double, tx, double, ty) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:365:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 365 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(translate, cairo_translate, "ff", double, tx, double, ty) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool scale_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:347:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool scale_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:347:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 347 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(scale, cairo_scale, "ff", double, sx, double, sy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:347:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 347 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(scale, cairo_scale, "ff", double, sx, double, sy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool relMoveTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:342:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool relMoveTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:342:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 342 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(relMoveTo, cairo_rel_move_to, "ff", double, dx, double, dy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:342:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 342 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(relMoveTo, cairo_rel_move_to, "ff", double, dx, double, dy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool relLineTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:341:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool relLineTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:341:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 341 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(relLineTo, cairo_rel_line_to, "ff", double, dx, double, dy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:341:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 341 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(relLineTo, cairo_rel_line_to, "ff", double, dx, double, dy) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool moveTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:326:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool moveTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:326:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 326 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(moveTo, cairo_move_to, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:326:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 326 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(moveTo, cairo_move_to, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool lineTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:325:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool lineTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:325:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 325 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(lineTo, cairo_line_to, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:177:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 177 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:325:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2' 325 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2(lineTo, cairo_line_to, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool copyPathFlat_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:435:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool copyPathFlat_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:435:69: note: 'obj' declared here 435 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:435:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 435 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:431:30: note: 'context' declared here 431 | copyPathFlat_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool copyPath_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:413:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool copyPath_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:413:69: note: 'obj' declared here 413 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:413:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 413 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:409:26: note: 'context' declared here 409 | copyPath_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getSource_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:714:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getSource_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:714:68: note: 'obj' declared here 714 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:714:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 714 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:710:27: note: 'context' declared here 710 | getSource_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool inStroke_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:324:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool inStroke_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:188:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 188 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:324:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2B' 324 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2B(inStroke, cairo_in_stroke, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:188:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 188 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:324:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2B' 324 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2B(inStroke, cairo_in_stroke, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool inFill_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:323:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool inFill_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:188:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 188 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:323:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2B' 323 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2B(inFill, cairo_in_fill, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:188:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 188 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:323:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2B' 323 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2B(inFill, cairo_in_fill, "ff", double, x, double, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool popGroup_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:683:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool popGroup_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:683:68: note: 'obj' declared here 683 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:683:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 683 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, rec, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:679:26: note: 'context' declared here 679 | popGroup_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setSourceRGB_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:357:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setSourceRGB_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:200:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 200 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:357:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC3' 357 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC3(setSourceRGB, cairo_set_source_rgb, "fff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:200:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 200 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:357:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC3' 357 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC3(setSourceRGB, cairo_set_source_rgb, "fff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setSourceRGBA_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:359:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setSourceRGBA_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:212:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 212 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:359:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC4' 359 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC4(setSourceRGBA, cairo_set_source_rgba, "ffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:212:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 212 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:359:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC4' 359 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC4(setSourceRGBA, cairo_set_source_rgba, "ffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool rectangle_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:336:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool rectangle_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:212:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 212 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:336:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC4' 336 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC4(rectangle, cairo_rectangle, "ffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:212:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 212 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:336:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC4' 336 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC4(rectangle, cairo_rectangle, "ffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool arcNegative_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:295:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool arcNegative_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:225:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 225 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:295:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC5' 295 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC5(arcNegative, cairo_arc_negative, "fffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:225:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 225 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:295:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC5' 295 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC5(arcNegative, cairo_arc_negative, "fffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool arc_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:292:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool arc_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:225:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 225 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:292:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC5' 292 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC5(arc, cairo_arc, "fffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:225:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 225 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:292:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC5' 292 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC5(arc, cairo_arc, "fffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool relCurveTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:338:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool relCurveTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:240:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 240 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:338:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC6' 338 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC6(relCurveTo, cairo_rel_curve_to, "ffffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:240:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 240 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:338:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC6' 338 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC6(relCurveTo, cairo_rel_curve_to, "ffffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool curveTo_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:298:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool curveTo_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:240:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 240 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:298:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC6' 298 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC6(curveTo, cairo_curve_to, "ffffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:240:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 240 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:298:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC6' 298 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC6(curveTo, cairo_curve_to, "ffffff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setSource_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:573:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setSource_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:573:69: note: 'obj' declared here 573 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:573:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 573 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:569:27: note: 'context' declared here 569 | setSource_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool mask_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:457:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool mask_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:457:69: note: 'obj' declared here 457 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:457:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 457 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:453:22: note: 'context' declared here 453 | mask_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool appendPath_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:390:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool appendPath_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:390:69: note: 'obj' declared here 390 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:390:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 390 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:386:28: note: 'context' declared here 386 | appendPath_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool selectFontFace_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:656:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool selectFontFace_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:656:69: note: 'obj' declared here 656 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:656:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 656 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:652:32: note: 'context' declared here 652 | selectFontFace_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setSourceSurface_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:601:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setSourceSurface_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:601:69: note: 'obj' declared here 601 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:601:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 601 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:597:34: note: 'context' declared here 597 | setSourceSurface_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool maskSurface_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:484:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool maskSurface_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:484:69: note: 'obj' declared here 484 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:484:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 484 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:480:29: note: 'context' declared here 480 | maskSurface_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setOperator_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:355:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setOperator_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:355:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 355 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setOperator, cairo_set_operator, "i", cairo_operator_t, op) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:355:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 355 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setOperator, cairo_set_operator, "i", cairo_operator_t, op) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setLineJoin_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:352:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setLineJoin_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:352:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 352 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineJoin, cairo_set_line_join, "i", cairo_line_join_t, line_join) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:352:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 352 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineJoin, cairo_set_line_join, "i", cairo_line_join_t, line_join) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setLineCap_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:351:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setLineCap_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:351:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 351 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineCap, cairo_set_line_cap, "i", cairo_line_cap_t, line_cap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:351:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 351 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setLineCap, cairo_set_line_cap, "i", cairo_line_cap_t, line_cap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setFillRule_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:349:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setFillRule_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:349:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 349 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setFillRule, cairo_set_fill_rule, "i", cairo_fill_rule_t, fill_rule) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:349:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 349 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setFillRule, cairo_set_fill_rule, "i", cairo_fill_rule_t, fill_rule) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setAntialias_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:348:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool setAntialias_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:348:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 348 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setAntialias, cairo_set_antialias, "i", cairo_antialias_t, antialias) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:348:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 348 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(setAntialias, cairo_set_antialias, "i", cairo_antialias_t, antialias) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool pushGroupWithContent_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:333:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool pushGroupWithContent_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:333:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 333 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(pushGroupWithContent, cairo_push_group_with_content, "i", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:167:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 167 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:333:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC1' 333 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC1(pushGroupWithContent, cairo_push_group_with_content, "i", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool showText_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:632:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool showText_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:632:69: note: 'obj' declared here 632 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:632:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 632 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:628:26: note: 'context' declared here 628 | showText_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getLineWidth_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:317:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getLineWidth_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:317:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 317 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getLineWidth, cairo_get_line_width) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:317:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 317 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getLineWidth, cairo_get_line_width) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getTolerance_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:320:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getTolerance_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:320:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 320 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getTolerance, cairo_get_tolerance) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:320:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 320 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getTolerance, cairo_get_tolerance) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getMiterLimit_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:318:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getMiterLimit_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:318:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 318 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getMiterLimit, cairo_get_miter_limit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:159:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 159 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:318:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0F' 318 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0F(getMiterLimit, cairo_get_miter_limit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getCurrentPoint_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:312:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool getCurrentPoint_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:111:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 111 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:312:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFF' 312 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFF(getCurrentPoint, cairo_get_current_point) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:111:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 111 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:312:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFF' 312 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFF(getCurrentPoint, cairo_get_current_point) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool fillExtents_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:310:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool fillExtents_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:310:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 310 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(fillExtents, cairo_fill_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:310:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 310 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(fillExtents, cairo_fill_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool deviceToUser_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:306:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool deviceToUser_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:306:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 306 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(deviceToUser, cairo_device_to_user, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:306:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 306 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(deviceToUser, cairo_device_to_user, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool userToDeviceDistance_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:367:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool userToDeviceDistance_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:367:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 367 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(userToDeviceDistance, cairo_user_to_device_distance, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:367:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 367 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(userToDeviceDistance, cairo_user_to_device_distance, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool userToDevice_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:366:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool userToDevice_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:366:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 366 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(userToDevice, cairo_user_to_device, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:366:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 366 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(userToDevice, cairo_user_to_device, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool deviceToUserDistance_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:307:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool deviceToUserDistance_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:307:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 307 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(deviceToUserDistance, cairo_device_to_user_distance, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:88:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 88 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:307:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF' 307 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC2FFAFF(deviceToUserDistance, cairo_device_to_user_distance, "x", "y") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool clipExtents_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:303:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool clipExtents_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:303:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 303 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(clipExtents, cairo_clip_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:303:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 303 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(clipExtents, cairo_clip_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool strokeExtents_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:364:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool strokeExtents_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:364:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 364 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(strokeExtents, cairo_stroke_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:364:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 364 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(strokeExtents, cairo_stroke_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool pathExtents_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-context.cpp:331:1: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp: In function 'bool pathExtents_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-context.cpp:53:73: note: 'obj' declared here 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-context.cpp:53:9: note: in expansion of macro '_GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED' 53 | _GJS_CAIRO_CONTEXT_GET_PRIV_CR_CHECKED(context, argc, vp, argv, obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:331:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 331 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(pathExtents, cairo_path_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:51:41: note: 'context' declared here 51 | static bool mname##_func(JSContext* context, unsigned argc, \ | ~~~~~~~~~~~^~~~~~~ ../modules/cairo-context.cpp:132:5: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN' 132 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC_BEGIN(method) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-context.cpp:331:1: note: in expansion of macro '_GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF' 331 | _GJS_CAIRO_CONTEXT_DEFINE_FUNC0AFFFF(pathExtents, cairo_path_extents) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoContext; Wrapped = _cairo]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-private.h:21, from ../modules/cairo-context.cpp:33: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoContext; Wrapped = _cairo]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ [57/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-surface.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-surface.cpp:11: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getType_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface.cpp:70:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../modules/cairo-surface.cpp:20: ../modules/cairo-surface.cpp: In function 'bool getType_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface.cpp:70:42: note: 'obj' declared here 70 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface.cpp:66:25: note: 'context' declared here 66 | getType_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool writeToPNG_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface.cpp:45:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-surface.cpp: In function 'bool writeToPNG_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface.cpp:45:43: note: 'obj' declared here 45 | GJS_GET_THIS(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface.cpp:41:28: note: 'context' declared here 41 | writeToPNG_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-surface.cpp:22: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoPSSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoPSSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26, inlined from 'static JSObject* CairoSurface::from_c_ptr(JSContext*, cairo_surface_t*)' at ../modules/cairo-surface.cpp:147:46: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CairoSurface::from_c_ptr(JSContext*, cairo_surface_t*)': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../modules/cairo-surface.cpp:133:47: note: 'context' declared here 133 | JSObject* CairoSurface::from_c_ptr(JSContext* context, | ~~~~~~~~~~~^~~~~~~ [58/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-image-surface.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-image-surface.cpp:9: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getWidth_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-image-surface.cpp:122:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gjs/jsapi-util-args.h:25, from ../modules/cairo-image-surface.cpp:18: ../modules/cairo-image-surface.cpp: In function 'bool getWidth_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-image-surface.cpp:122:42: note: 'obj' declared here 122 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-image-surface.cpp:118:26: note: 'context' declared here 118 | getWidth_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getFormat_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-image-surface.cpp:95:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-image-surface.cpp: In function 'bool getFormat_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-image-surface.cpp:95:42: note: 'obj' declared here 95 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-image-surface.cpp:91:27: note: 'context' declared here 91 | getFormat_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getStride_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-image-surface.cpp:176:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-image-surface.cpp: In function 'bool getStride_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-image-surface.cpp:176:42: note: 'obj' declared here 176 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-image-surface.cpp:172:27: note: 'context' declared here 172 | getStride_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getHeight_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-image-surface.cpp:149:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-image-surface.cpp: In function 'bool getHeight_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-image-surface.cpp:149:42: note: 'obj' declared here 149 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-image-surface.cpp:145:27: note: 'context' declared here 145 | getHeight_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-private.h:21, from ../modules/cairo-image-surface.cpp:21: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ [59/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-ps-surface.cpp.o [60/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-pdf-surface.cpp.o [61/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-svg-surface.cpp.o [62/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-pattern.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-pattern.cpp:10: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getType_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-pattern.cpp:39:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/js-value-inl.h:16, from ../gi/arg-inl.h:19, from ../gi/wrapperutils.h:28, from ../gjs/jsapi-class.h:15, from ../modules/cairo-pattern.cpp:18: ../modules/cairo-pattern.cpp: In function 'bool getType_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-pattern.cpp:39:42: note: 'obj' declared here 39 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-pattern.cpp:35:25: note: 'context' declared here 35 | getType_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gi/wrapperutils.h:29: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ [63/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-gradient.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-gradient.cpp:9: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool addColorStopRGB_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-gradient.cpp:49:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gjs/jsapi-util-args.h:25, from ../modules/cairo-gradient.cpp:18: ../modules/cairo-gradient.cpp: In function 'bool addColorStopRGB_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-gradient.cpp:49:43: note: 'obj' declared here 49 | GJS_GET_THIS(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-gradient.cpp:45:33: note: 'context' declared here 45 | addColorStopRGB_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool addColorStopRGBA_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-gradient.cpp:78:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-gradient.cpp: In function 'bool addColorStopRGBA_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-gradient.cpp:78:43: note: 'obj' declared here 78 | GJS_GET_THIS(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-gradient.cpp:74:34: note: 'context' declared here 74 | addColorStopRGBA_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ [64/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-linear-gradient.cpp.o [65/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-radial-gradient.cpp.o [66/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-surface-pattern.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-surface-pattern.cpp:9: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setFilter_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface-pattern.cpp:118:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../gjs/jsapi-util-args.h:25, from ../modules/cairo-surface-pattern.cpp:18: ../modules/cairo-surface-pattern.cpp: In function 'bool setFilter_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface-pattern.cpp:118:43: note: 'obj' declared here 118 | GJS_GET_THIS(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface-pattern.cpp:114:27: note: 'context' declared here 114 | setFilter_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getExtend_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface-pattern.cpp:90:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-surface-pattern.cpp: In function 'bool getExtend_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface-pattern.cpp:90:42: note: 'obj' declared here 90 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface-pattern.cpp:86:27: note: 'context' declared here 86 | getExtend_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool getFilter_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface-pattern.cpp:144:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-surface-pattern.cpp: In function 'bool getFilter_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface-pattern.cpp:144:42: note: 'obj' declared here 144 | GJS_GET_THIS(context, argc, vp, rec, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface-pattern.cpp:140:27: note: 'context' declared here 140 | getFilter_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'JS::Rooted::Rooted(const RootingContext&, CtorDispatcher, JS::detail::FallbackOverload) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1098:42, inlined from 'JS::Rooted::Rooted(const RootingContext&) [with RootingContext = JSContext*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1116:64, inlined from 'bool setExtend_func(JSContext*, unsigned int, JS::Value*)' at ../modules/cairo-surface-pattern.cpp:64:5: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'obj' in '((JS::Rooted**)context)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../modules/cairo-surface-pattern.cpp: In function 'bool setExtend_func(JSContext*, unsigned int, JS::Value*)': ../modules/cairo-surface-pattern.cpp:64:43: note: 'obj' declared here 64 | GJS_GET_THIS(context, argc, vp, argv, obj); | ^~~ ../gjs/jsapi-util.h:384:22: note: in definition of macro 'GJS_GET_THIS' 384 | JS::RootedObject to(cx); \ | ^~ ../modules/cairo-surface-pattern.cpp:60:27: note: 'context' declared here 60 | setExtend_func(JSContext *context, | ~~~~~~~~~~~^~~~~~~ [67/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo-solid-pattern.cpp.o In file included from /opt/pkg/include/mozjs-78/js/CallArgs.h:73, from ../modules/cairo-solid-pattern.cpp:9: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:488:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'proto' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-private.h:21, from ../modules/cairo-solid-pattern.cpp:20: ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::from_c_ptr(JSContext*, Wrapped*) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:488:26: note: 'proto' declared here 488 | JS::RootedObject proto(cx, Base::prototype(cx)); | ^~~~~ ../gi/cwrapper.h:487:44: note: 'cx' declared here 487 | static JSObject* from_c_ptr(JSContext* cx, Wrapped* ptr) { | ~~~~~~~~~~~^~ [68/110] Compiling C object libgjs.so.0.0.0.p/libgjs-private_gjs-gdbus-wrapper.c.o [69/110] Compiling C object libgjs.so.0.0.0.p/libgjs-private_gjs-util.c.o [70/110] Compiling C++ object libgjs.so.0.0.0.p/modules_cairo.cpp.o In file included from ../modules/cairo.cpp:11: In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../modules/cairo-private.h:21, from ../modules/cairo.cpp:16: ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoRegion; Wrapped = _cairo_region]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoRegion; Wrapped = _cairo_region]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoContext; Wrapped = _cairo]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoContext; Wrapped = _cairo]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoImageSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoPSSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoPSSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JSObject*]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JSObject*; T = JSObject*]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:208:26: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'object' in '((JS::Rooted**)cx)[3]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static bool CWrapper::constructor(JSContext*, unsigned int, JS::Value*) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:208:26: note: 'object' declared here 208 | JS::RootedObject object( | ^~~~~~ ../gi/cwrapper.h:201:40: note: 'cx' declared here 201 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoRegion; Wrapped = _cairo_region]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoRegion; Wrapped = _cairo_region]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoContext; Wrapped = _cairo]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoContext; Wrapped = _cairo]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoImageSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoImageSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPath; Wrapped = cairo_path]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPath; Wrapped = cairo_path]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPSSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPSSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPDFSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSVGSurface; Wrapped = _cairo_surface]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoPattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoLinearGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoRadialGradient; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSurfacePattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ In member function 'void JS::Rooted::registerWithRootLists(JS::RootedListHeads&) [with T = JS::Value]', inlined from 'JS::Rooted::Rooted(const RootingContext&, S&&) [with RootingContext = JSContext*; S = JS::Value; T = JS::Value]' at /opt/pkg/include/mozjs-78/js/RootingAPI.h:1122:26, inlined from 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]' at ../gi/cwrapper.h:355:25: /opt/pkg/include/mozjs-78/js/RootingAPI.h:1076:12: warning: storing the address of local variable 'v_proto' in '((JS::Rooted**)cx)[12]' [-Wdangling-pointer=] 1076 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gi/cwrapper.h: In static member function 'static JSObject* CWrapper::create_prototype(JSContext*, JS::HandleObject) [with Base = CairoSolidPattern; Wrapped = _cairo_pattern]': ../gi/cwrapper.h:355:25: note: 'v_proto' declared here 355 | JS::RootedValue v_proto( | ^~~~~~~ ../gi/cwrapper.h:349:50: note: 'cx' declared here 349 | static JSObject* create_prototype(JSContext* cx, | ~~~~~~~~~~~^~ [71/110] Linking target libgjs.so.0.0.0 [72/110] Compiling C object installed-tests/js/libregress.so.p/_opt_pkg_share_gobject-introspection-1.0_tests_regress.c.o [73/110] Generating symbol file libgjs.so.0.0.0.p/libgjs.so.0.0.0.symbols WARNING: ['nm'] does not work. Relinking will always happen on source changes. Usage: nm [-ACDhiLlnPpRrsTVv] [-efox] [-g | -u] [-t d|o|x] file ... [74/110] Compiling C object installed-tests/js/libwarnlib.so.p/_opt_pkg_share_gobject-introspection-1.0_tests_warnlib.c.o [75/110] Compiling C++ object installed-tests/js/libgjstesttools/libgjstesttools.so.p/gjs-test-tools.cpp.o [76/110] Generating test/mock-js-resources_c with a custom command [77/110] Generating test/mock-js-resources_h with a custom command [78/110] Generating installed-tests/js/jsunit-resources_c with a custom command [79/110] Generating installed-tests/js/jsunit-resources_h with a custom command [80/110] Linking target installed-tests/js/libregress.so [81/110] Linking target installed-tests/js/libwarnlib.so [82/110] Linking target installed-tests/js/libgjstesttools/libgjstesttools.so [83/110] Compiling C object installed-tests/js/libgimarshallingtests.so.p/_opt_pkg_share_gobject-introspection-1.0_tests_gimarshallingtests.c.o [84/110] Linking target installed-tests/js/libgimarshallingtests.so [85/110] Compiling C++ object gjs-console.p/gjs_console.cpp.o [86/110] Compiling C object test/gjs-tests.p/meson-generated_.._mock-js-resources.c.o [87/110] Compiling C++ object test/gjs-tests.p/gjs-tests.cpp.o FAILED: [code=1] test/gjs-tests.p/gjs-tests.cpp.o g++ -Itest/gjs-tests.p -Itest -I../test -I. -I.. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/gobject-introspection-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gio-unix-2.0 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/ncurses -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -fno-rtti -std=c++17 -fno-strict-aliasing -Wno-variadic-macros -Wno-missing-field-initializers -fno-semantic-interposition -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -include /opt/pkg/include/mozjs-78/js/RequiredDefines.h -isystem /opt/pkg/include/mozjs-78 -pthread -DGJS_COMPILATION '-DGJS_JS_DIR="/opt/pkg/share/gjs-1.0"' '-DPKGLIBDIR="/opt/pkg/lib/gjs"' -MD -MQ test/gjs-tests.p/gjs-tests.cpp.o -MF test/gjs-tests.p/gjs-tests.cpp.o.d -o test/gjs-tests.p/gjs-tests.cpp.o -c ../test/gjs-tests.cpp ../test/gjs-tests.cpp: In function 'void gjstest_test_args_set_get_unset()': ../test/gjs-tests.cpp:685:17: error: no matching function for call to 'assert_equal(gint8&, int8_t&)' 685 | assert_equal(arg.v_int8, random_int8); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../test/gjs-tests.cpp:71:16: note: candidate: 'template constexpr void assert_equal(T, T)' 71 | constexpr void assert_equal(T a, T b) { | ^~~~~~~~~~~~ ../test/gjs-tests.cpp:71:16: note: template argument deduction/substitution failed: ../test/gjs-tests.cpp:685:17: note: deduced conflicting types for parameter 'T' ('signed char' and 'char') 685 | assert_equal(arg.v_int8, random_int8); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ [88/110] Generating GjsPrivate-1.0.gir with a custom command (wrapped by meson to set env) ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gjs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gjs