Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Pango warning because of depreciation #111

Closed
polluks opened this issue Oct 2, 2022 · 2 comments
Closed

Pango warning because of depreciation #111

polluks opened this issue Oct 2, 2022 · 2 comments

Comments

@polluks
Copy link

polluks commented Oct 2, 2022

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
Copy link
Collaborator

moinejf commented Oct 2, 2022

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
Copy link
Author

polluks commented Oct 2, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants