Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants