Skip to content

Fails to build cairo-dock-systemd-integration.c. #147

@darkshram

Description

@darkshram

Even with -Denable-systemd-service=False, cairo-dock tries and fails to build cairo-dock-systemd-integration.c, at least in OS without SystemD:

/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c: In function '_spawn_end':
/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c:34:25: error: parameter name omitted
 static void _spawn_end (GObject*, GAsyncResult *res, gpointer)
                         ^~~~~~~~
/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c:34:54: error: parameter name omitted
 static void _spawn_end (GObject*, GAsyncResult *res, gpointer)
                                                      ^~~~~~~~
/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c: In function '_proxy_connected':
/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c:144:31: error: parameter name omitted
 static void _proxy_connected (GObject*, GAsyncResult *res, gpointer)
                               ^~~~~~~~
/builddir/build/BUILD/cairo-dock-core-3.6.0/src/implementations/cairo-dock-systemd-integration.c:144:60: error: parameter name omitted
 static void _proxy_connected (GObject*, GAsyncResult *res, gpointer)
                                                            ^~~~~~~~
gmake[2]: *** [src/implementations/CMakeFiles/implementations.dir/build.make:247: src/implementations/CMakeFiles/implementations.dir/cairo-dock-systemd-integration.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....

Also the errors above mean there are parameters without a name in static void _spawn_end (GObject*, GAsyncResult *res, gpointer) and static void _proxy_connected (GObject*, GAsyncResult *res, gpointer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions