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 791711 - glib/glibmm/threads.h:660:29: error: cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return
glib/glibmm/threads.h:660:29: error: cannot convert ‘GPrivate’ {aka ‘_GPrivat...
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: general
2.52.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2017-12-17 20:18 UTC by octoploid
Modified: 2017-12-20 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description octoploid 2017-12-17 20:18:16 UTC
...
glib/glibmm/threads.h:660:29: error: cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return  

Missing &:
660   GPrivate* gobj() { return gobject_; }
should be

660   GPrivate* gobj() { return &gobject_; }
Comment 1 Kjell Ahlstedt 2017-12-20 19:04:14 UTC
Fixed in the glibmm-2-54 branch.
No fix is necessary in the master branch. The threads.hg and threads.h files
don't exist there.