Skip to content

Fix build failure when enabling tests#47

Open
dilinger wants to merge 1 commit into
TelepathyIM:masterfrom
dilinger:fix-tests
Open

Fix build failure when enabling tests#47
dilinger wants to merge 1 commit into
TelepathyIM:masterfrom
dilinger:fix-tests

Conversation

@dilinger

Copy link
Copy Markdown

When I set -DENABLE_TESTS=YES, I hit the following build error:

/telepathy-qt/obj-x86_64-linux-gnu/tests/lib/glib/future/extensions/_gen/svc-connection.c: In function 'future_svc_connection_interface_addressing_get_contacts_by_vcard_field': /telepathy-qt/obj-x86_64-linux-gnu/tests/lib/glib/future/extensions/_gen/svc-connection.c:58:7: error: implicit declaration of function 'tp_dbus_g_method_return_not_implemented' [-Wimplicit-function-declaration]
58 | tp_dbus_g_method_return_not_implemented (context);

That source file is generated from
tests/lib/glib/future/extensions/connection.xml, so I think this is the correct fix?

When I set -DENABLE_TESTS=YES, I hit the following build error:

/telepathy-qt/obj-x86_64-linux-gnu/tests/lib/glib/future/extensions/_gen/svc-connection.c: In function 'future_svc_connection_interface_addressing_get_contacts_by_vcard_field':
/telepathy-qt/obj-x86_64-linux-gnu/tests/lib/glib/future/extensions/_gen/svc-connection.c:58:7: error: implicit declaration of function 'tp_dbus_g_method_return_not_implemented' [-Wimplicit-function-declaration]
   58 |       tp_dbus_g_method_return_not_implemented (context);

That source file is generated from
tests/lib/glib/future/extensions/connection.xml, so I think this is the
correct fix?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant