valac -g --cc="clang" -o valabind --pkg posix --pkg libvala-0.50 --vapidir=/private/tmp/valabind-20200911-81832-10e3t3o/valabind-1.7.1/private --pkg codegen -X -I/private/tmp/valabind-20200911-81832-10e3t3o/valabind-1.7.1/private --vapidir=/share/vala/vapi/ -X -L/usr/local/Cellar/vala/0.50.0/lib/vala-0.50 -X -lvalaccodegen --save-temps config.vala main.vala valabindwriter.vala nodeffiwriter.vala utils.vala girwriter.vala swigwriter.vala cxxwriter.vala ctypeswriter.vala dlangwriter.vala gowriter.vala
valabindwriter.vala:36.3-36.17: error: Access to private member `Vala.CodeContext.profile' denied
context.profile = Profile.GOBJECT;
^^^^^^^^^^^^^^^
swigwriter.vala:97.22-97.52: warning: Access to possible `null'. Perform a check or use an unsafe cast.
return type_name ((type as PointerType).base_type, retType, true)+"*";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nodeffiwriter.vala:63.31-63.61: warning: Access to possible `null'. Perform a check or use an unsafe cast.
return "_.ptr("+type_name ((type as PointerType).base_type, true)+")";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ctypeswriter.vala:206.24-206.54: warning: Access to possible `null'. Perform a check or use an unsafe cast.
var tn = type_name ((type as PointerType).base_type, retType, true);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 3 warning(s)
I get the following error: