After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791510 - libtracker-sparql cannot be used from C++
libtracker-sparql cannot be used from C++
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: General
2.0.x
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-12-12 09:11 UTC by Santtu Lakkala
Modified: 2018-08-11 22:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.31 KB, patch)
2017-12-12 09:11 UTC, Santtu Lakkala
accepted-commit_now Details | Review

Description Santtu Lakkala 2017-12-12 09:11:09 UTC
Created attachment 365412 [details] [review]
Proposed patch

Introduced in https://git.gnome.org/browse/tracker/commit/?id=f656cd8d12 tracker-namespace-manager.h uses C++ reserved word "namespace" as a function argument name, rendering it unusable from C++ code.
Comment 1 Carlos Garnacho 2017-12-12 10:28:05 UTC
Comment on attachment 365412 [details] [review]
Proposed patch

Doh! Looks good.
Comment 2 Sam Thursfield 2018-08-11 22:09:58 UTC
Thanks for the patch! gobject-introspection and gtk-doc tends to warn or break when the parameter name in the .h file doesn't match the parameter name in the .c file, so I've redone this patch a bit. New version is here: https://gitlab.gnome.org/GNOME/tracker/merge_requests/16