Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • 2025Q1
  • 2024Q4
  • 2024Q3
  • 2024Q2
  • 2024Q1
  • 2023Q4
  • 2023Q3
  • 2023Q2
  • 2023Q1
  • 2022Q4
  • 2022Q3
  • 2022Q2
  • 2022Q1
  • 2021Q4
  • 2021Q3
  • 2021Q2
  • 2021Q1
  • 2020Q4
  • 2020Q3
  • 13.3-eol
  • release/14.2.0
  • 14.0-eol
  • release/13.4.0
  • release/14.1.0
  • release/13.3.0
  • 12-eol
  • 12.4-eol
  • release/14.0.0
  • 13.1-eol-q
  • 13.1-eol
  • 12.3-last
  • 12.3-eol
  • release/13.2.0
  • release/12.4.0
  • release/13.1.0
  • release/12.3.0
  • 11-eol
  • release/13.0.0
  • release/12.2.0
40 results

pangox-compat

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Dimitry Andric authored
    Clang 16 has a new error about incompatible function types, which shows
    up when building x11-toolkits/pangox-compat:
    
    basic-x.c:687:23: error: incompatible function pointer types assigning 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 'void (PangoEngineShape *, PangoFont *, const char *, gint, const PangoAnalysis *, PangoGlyphString *)' (aka 'void (struct _PangoEngineShape *, struct _PangoFont *, const char *, int, const struct _PangoAnalysis *, struct _PangoGlyphString *)') [-Wincompatible-function-pointer-types]
      class->script_shape = basic_engine_shape;
                          ^ ~~~~~~~~~~~~~~~~~~
    
    This is because the 'script_shape' callback function in pango 1.50 has
    the 'length' argument as 'unsigned int', and also two additional
    parameters 'paragraph_text' and 'paragraph_length'. Even though it looks
    like this callback function is never used, correct the arguments to fix
    the error.
    
    PR:		271709
    Approved by:	fluffy (maintainer)
    MFH:		2023Q2
    1f905384
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..