Build failure on Continuous
I've recently untagged GJS in Continuous after GNOME Shell started requiring 1.57, and the build fails:
../gi/wrapperutils.cpp: In instantiation of ‘bool gjs_define_static_methods(JSContext*, JS::HandleObject, GType, GIBaseInfo*) [with InfoType::Tag <anonymous> = (InfoType::Tag)1u; JS::HandleObject = JS::Handle<JSObject*>; GType = long unsigned int; GIBaseInfo = _GIBaseInfoStub]’:
../gi/wrapperutils.cpp:174:79: required from here
../gi/wrapperutils.cpp:148:5: error: the address of ‘GIStructInfo* g_interface_info_get_iface_struct(GIInterfaceInfo*)’ will always evaluate as ‘true’ [-Werror=address]
if (!reinterpret_cast<void*>(InfoMethodsPolicy<TAG>::type_struct))
^
../gi/wrapperutils.cpp: In instantiation of ‘bool gjs_define_static_methods(JSContext*, JS::HandleObject, GType, GIBaseInfo*) [with InfoType::Tag <anonymous> = (InfoType::Tag)2u; JS::HandleObject = JS::Handle<JSObject*>; GType = long unsigned int; GIBaseInfo = _GIBaseInfoStub]’:
../gi/wrapperutils.cpp:176:79: required from here
../gi/wrapperutils.cpp:148:5: error: the address of ‘GIStructInfo* g_object_info_get_class_struct(GIObjectInfo*)’ will always evaluate as ‘true’ [-Werror=address]
It could be a GCC 5.x issue, since that's what we are using on Continuous. Nevertheless, it's blocking the build.