lewdlime / abcm2ps

abcm2ps is a command line program which converts ABC to music sheet in PostScript or SVG format. It is an extension of abc2ps which may handle many voices per staff. abcm2ps is Copyright © 2014-2016 Jean-Francois Moine.
http://moinejf.free.fr/
GNU General Public License v3.0
82 stars 31 forks source link

Pango warning because of depreciation #111

Closed polluks closed 2 years ago

polluks commented 2 years ago

subs.c:409:18: warning: 'pango_fc_font_lock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations]
                FT_Face face = pango_fc_font_lock_face(fc_font);
                               ^
/opt/homebrew/Cellar/pango/1.50.10/include/pango-1.0/pango/pangofc-font.h:113:1: note: 'pango_fc_font_lock_face' has been explicitly marked deprecated here
PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
^
/opt/homebrew/Cellar/pango/1.50.10/include/pango-1.0/pango/pango-version-macros.h:688:49: note: expanded from macro 'PANGO_DEPRECATED_IN_1_44_FOR'
# define PANGO_DEPRECATED_IN_1_44_FOR(f)        PANGO_DEPRECATED_FOR(f)
                                                ^
/opt/homebrew/Cellar/pango/1.50.10/include/pango-1.0/pango/pango-version-macros.h:386:49: note: expanded from macro 'PANGO_DEPRECATED_FOR'
# define PANGO_DEPRECATED_FOR(f)                G_DEPRECATED_FOR(f) _PANGO_EXTERN
                                                ^
/opt/homebrew/Cellar/glib/2.74.0/include/glib-2.0/glib/gmacros.h:1211:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
                                           ^
moinejf commented 2 years ago

Yes, I know and I spent a lot of time to make work the new definitions without success. The best should be to remove all the pango stuff, but, as it seems the program is still working for some people with this warning, I will not do any change.

polluks commented 2 years ago

I see, it's just a warning about future releases.