[Xfce-bugs] [Bug 16422] New: Compile Failure: tvm-command-entry.c:83:9: error: cast between incompatible function types

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Feb 2 22:47:51 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16422

            Bug ID: 16422
           Summary: Compile Failure: tvm-command-entry.c:83:9: error: cast
                    between incompatible function types
    Classification: Xfce Core
           Product: Thunar-volman
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: oyvinds at everdot.org
  Target Milestone: ---

make[2]: Leaving directory
'/home/oyvinds/src/xfce4/thunar-volman/thunar-volman'
Making all in thunar-volman-settings
make[2]: Entering directory
'/home/oyvinds/src/xfce4/thunar-volman/thunar-volman-settings'
  CC       thunar_volman_settings-main.o
  CC       thunar_volman_settings-tvm-command-entry.o
  CC       thunar_volman_settings-tvm-preferences-dialog.o
  CC       thunar_volman_settings-tvm-pango-extensions.o
tvm-command-entry.c: In function ‘tvm_command_entry_get_type’:
tvm-command-entry.c:83:9: error: cast between incompatible function types from
‘void (*)(TvmCommandEntryClass *)’ {aka ‘void (*)(struct _TvmCommandEntryClass
*)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
   83 |         (GClassInitFunc) tvm_command_entry_class_init,
      |         ^
tvm-command-entry.c:88:9: error: cast between incompatible function types from
‘void (*)(TvmCommandEntry *)’ {aka ‘void (*)(struct _TvmCommandEntry *)’} to
‘void (*)(GTypeInstance *, void *)’ {aka ‘void (*)(struct _GTypeInstance *,
void *)’} [-Werror=cast-function-type]
   88 |         (GInstanceInitFunc) tvm_command_entry_init,
      |         ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:627: thunar_volman_settings-tvm-command-entry.o] Error 1
make[2]: Leaving directory
'/home/oyvinds/src/xfce4/thunar-volman/thunar-volman-settings'
make[1]: *** [Makefile:492: all-recursive] Error 1
make[1]: Leaving directory '/home/oyvinds/src/xfce4/thunar-volman'
make: *** [Makefile:424: all] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list