Closed der-eismann closed 3 days ago
Build 148037 failed
Hmm, build currently fails with:
pangox.c: In function ‘pango_x_font_get_metrics’:
pangox.c:983:17: error: implicit declaration of function ‘pango_font_metrics_new’; did you mean ‘pango_font_metrics_ref’? [-Wimplicit-function-declaration]
983 | metrics = pango_font_metrics_new ();
| ^~~~~~~~~~~~~~~~~~~~~~
| pango_font_metrics_ref
pangox.c:983:15: error: assignment to ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
983 | metrics = pango_font_metrics_new ();
| ^
pangox.c: In function ‘pango_x_font_find_shaper’:
/usr/include/glib-2.0/glib/gthread.h:278:29: error: assignment to ‘PangoEngineShape *’ {aka ‘struct _PangoEngineShape *’} from incompatible pointer type ‘PangoEngine *’ {aka ‘struct _PangoEngine *’} [-Wincompatible-pointer-types]
278 | 0 ? (void) (*(location) = (result)) : (void) 0; \
| ^
pangox-fontmap.c: In function ‘pango_x_font_map_read_aliases’:
pangox-fontmap.c:944:21: error: implicit declaration of function ‘pango_config_key_get’; did you mean ‘pango_coverage_get’? [-Wimplicit-function-declaration]
944 | char *files_str = pango_config_key_get ("PangoX/AliasFiles");
| ^~~~~~~~~~~~~~~~~~~~
| pango_coverage_get
pangox-fontmap.c:944:21: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
basic-x.c: In function ‘basic_engine_x_class_init’:
basic-x.c:687:23: error: assignment to ‘void (*)(PangoEngineShape *, PangoFont *, const char *, unsigned int, const PangoAnalysis *, PangoGlyphString *, const char *, unsigned int)’ {aka ‘void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, unsigned int, const struct _PangoAnalysis *, struct _PangoGlyphString *, const char *, unsigned int)’} from incompatible pointer type ‘void (*)(PangoEngineShape *, PangoFont *, const char *, gint, const PangoAnalysis *, PangoGlyphString *)’ {aka ‘void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, int, const struct _PangoAnalysis *, struct _PangoGlyphString *)’} [-Wincompatible-pointer-types]
687 | class->script_shape = basic_engine_shape;
| ^
I guess gcc was updated or some new defaults were set, I'll see if I can disable -Wint-conversion
, -Wincompatible-pointer-types
& -Wimplicit-function-declaration
. This piece of software is so old, it's really about time AnyDesk releases a new Linux version.
Started test build 148037