Warnings when compiling with GIntrospection
Compiling with GObject introspection (ninja -v -j1) produces the warnings:
[91/106] cd /git/gnome/evolution-data-server/build/src/libedataserver && /usr/bin/cmake -E env "CC='/usr/bin/cc'" LDFLAGS= LD_LIBRARY_PATH=\"/git/gnome/evolution-data-server/build:/git/gnome/evolution-data-server/build/src:/git/gnome/evolution-data-server/build/src/libedataserver:/git/gnome/evolution-data-server/build/src/private:/git/gnome/evolution-data-server/build/src/camel:/usr/local/lib\" /usr/bin/g-ir-scanner --add-include-path=/git/gnome/evolution-data-server/build --add-include-path=/git/gnome/evolution-data-server/build/src --add-include-path=/git/gnome/evolution-data-server --add-include-path=/git/gnome/evolution-data-server/src --add-include-path=/git/gnome/evolution-data-server/build/src/libedataserver --add-include-path=/git/gnome/evolution-data-server/src/libedataserver --library-path=/git/gnome/evolution-data-server/build --library-path=/git/gnome/evolution-data-server/build/src --library-path=/git/gnome/evolution-data-server/build/src/libedataserver --library-path=/git/gnome/evolution-data-server/build/src/private --library-path=/git/gnome/evolution-data-server/build/src/camel --identifier-prefix=E --include-uninstalled=/git/gnome/evolution-data-server/build/src/camel/Camel-1.2.gir --add-include-path=/usr/local/share/gir-1.0 --library-path=/usr/local/lib --pkg-export libedataserver-1.2 --c-include=libedataserver/libedataserver.h --cflags-begin -I/git/gnome/evolution-data-server/build/src/libedataserver -I/git/gnome/evolution-data-server/build -I/git/gnome/evolution-data-server/build/src -I/git/gnome/evolution-data-server/src/libedataserver -I/git/gnome/evolution-data-server -I/git/gnome/evolution-data-server/src -DLIBEDATASERVER_COMPILATION --cflags-end --verbose --namespace=EDataServer --nsversion=1.2 --no-libtool --library=camel-1.2 --library=edataserver-1.2 --include=GObject-2.0 --include=Gio-2.0 --include=Soup-3.0 --include=libxml2-2.0 --warn-all -I/git/gnome/evolution-data-server/build/src/libedataserver -I/git/gnome/evolution-data-server/build -I/git/gnome/evolution-data-server/build/src -I/git/gnome/evolution-data-server/src/libedataserver -I/git/gnome/evolution-data-server -I/git/gnome/evolution-data-server/src -DLIBEDATASERVER_COMPILATION --filelist=/git/gnome/evolution-data-server/build/src/libedataserver/EDataServer_1_2_gir_files --output /git/gnome/evolution-data-server/build/src/libedataserver/EDataServer-1.2.gir --accept-unprefixed --sources-top-dirs=/git/gnome/evolution-data-server --sources-top-dirs=/git/gnome/evolution-data-server/build
/usr/bin/cc -E -DLIBEDATASERVER_COMPILATION -I. -I/git/gnome/evolution-data-server/build/src/libedataserver -I/git/gnome/evolution-data-server/build -I/git/gnome/evolution-data-server/build/src -I/git/gnome/evolution-data-server/src/libedataserver -I/git/gnome/evolution-data-server -I/git/gnome/evolution-data-server/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsoup-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -o g-ir-cpp-rn5v8ewd.i -C /git/gnome/evolution-data-server/build/src/libedataserver/g-ir-cpp-rn5v8ewd.c
/usr/bin/cc -DLIBEDATASERVER_COMPILATION -I/git/gnome/evolution-data-server/build/src/libedataserver -I/git/gnome/evolution-data-server/build -I/git/gnome/evolution-data-server/build/src -I/git/gnome/evolution-data-server/src/libedataserver -I/git/gnome/evolution-data-server -I/git/gnome/evolution-data-server/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsoup-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/git/gnome/evolution-data-server/build/src/libedataserver -I/git/gnome/evolution-data-server/build -I/git/gnome/evolution-data-server/build/src -I/git/gnome/evolution-data-server/src/libedataserver -I/git/gnome/evolution-data-server -I/git/gnome/evolution-data-server/src -c /git/gnome/evolution-data-server/build/src/libedataserver/tmp-introspect4pbt7fox/EDataServer-1.2.c -o /git/gnome/evolution-data-server/build/src/libedataserver/tmp-introspect4pbt7fox/EDataServer-1.2.o -Wno-deprecated-declarations -pthread
g-ir-scanner: link: /usr/bin/cc -o /git/gnome/evolution-data-server/build/src/libedataserver/tmp-introspect4pbt7fox/EDataServer-1.2 /git/gnome/evolution-data-server/build/src/libedataserver/tmp-introspect4pbt7fox/EDataServer-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/git/gnome/evolution-data-server/build -Wl,-rpath,/git/gnome/evolution-data-server/build -L/git/gnome/evolution-data-server/build/src -Wl,-rpath,/git/gnome/evolution-data-server/build/src -L/git/gnome/evolution-data-server/build/src/libedataserver -Wl,-rpath,/git/gnome/evolution-data-server/build/src/libedataserver -L/git/gnome/evolution-data-server/build/src/private -Wl,-rpath,/git/gnome/evolution-data-server/build/src/private -L/git/gnome/evolution-data-server/build/src/camel -Wl,-rpath,/git/gnome/evolution-data-server/build/src/camel -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lcamel-1.2 -ledataserver-1.2 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
../../../src/libedataserver/e-source-registry.c:2778: Warning: EDataServer: Unknown container Type(target_giname=GLib.Node, ctype=GNode*) for element-type annotation
../../../src/libedataserver/e-webdav-session.c:3983: Warning: EDataServer: Unknown container Type(target_giname=GLib.Node, ctype=GNode**) for element-type annotation
e-source-registry.c:2778 is the line starting with * Returns:
: (there are two similar lines below, one has colon, the other has no colon):
/**
* e_source_registry_build_display_tree: (skip)
* @registry: an #ESourceRegistry
* @extension_name: (nullable): an extension name, or %NULL
*
* Returns a single #GNode tree of registered sources that can be used to
* populate a #GtkTreeModel. (The root #GNode is just an empty placeholder.)
*
* Similar to e_source_registry_list_sources(), an @extension_name can be
* given to restrict the tree to sources having that extension name. Parents
* of matched sources are included in the tree regardless of whether they have
* an extension named @extension_name.
*
* Disabled leaf nodes are automatically excluded from the #GNode tree.
*
* The sources returned in the tree are referenced for thread-safety.
* They must each be unreferenced with g_object_unref() when finished
* with them. Free the returned tree itself with g_node_destroy().
* For convenience, e_source_registry_free_display_tree() does all
* that in one step.
*
* Returns: (element-type ESource) (transfer full): a tree of sources,
* arranged for display
*
* Since: 3.6
**/
e-webdav-session.c:3983 is the line with @out_privileges
. It contains the word return
.
/**
* e_webdav_session_get_supported_privilege_set_sync:
* @webdav: an #EWebDAVSession
* @uri: (nullable): URI to issue the request for, or %NULL to read from #ESource
* @out_privileges: (out) (transfer full) (element-type EWebDAVPrivilege): return location for the tree of supported privileges
* @cancellable: optional #GCancellable object, or %NULL
* @error: return location for a #GError, or %NULL
*
* Gets supported privileges for the @uri, or, in case it's %NULL, for the URI
* defined in associated #ESource.
*
* The root node of @out_privileges has always %NULL data.
*
* Free the returned @out_privileges with e_webdav_session_util_free_privileges()
* when no longer needed.
*
* Returns: Whether succeeded.
*
* Since: 3.26
**/
$ g-ir-scanner --version
g-ir-scanner 1.72.0