Opened 6 years ago

Closed 6 years ago

#57360 closed defect (fixed)

gnucash upgrade fails w error: 'g_type_class_add_private' is deprecated

Reported by: Blokkendoos (Johan) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: LeoFCardoso (Leonardo)
Port: gnucash

Description

Gnucash port upgrade fails with error:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.2/libgnucash/engine/Account.cpp:575:5: error: 'g_type_class_add_private' is deprecated [-Werror,-Wdeprecated-declarations]:info:build     g_type_class_add_private(klass, sizeof(AccountPrivate));
:info:build     ^
:info:build /opt/local/include/glib-2.0/gobject/gtype.h:1303:10: note: 'g_type_class_add_private' has been explicitly marked deprecated here
:info:build void     g_type_class_add_private       (gpointer                    g_class,
:info:build          ^

Macports v2.5.4 on Mac OS X 10.10.5
Full log attached.

Attachments (1)

main.log (959.4 KB) - added by Blokkendoos (Johan) 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Blokkendoos (Johan)

Attachment: main.log added

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to drkp
Status: newassigned

comment:2 Changed 6 years ago by LeoFCardoso (Leonardo)

Cc: LeoFCardoso added

comment:3 Changed 6 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

This should be fixed by the gnucash 3.3 update.

Note: See TracTickets for help on using tickets.